Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
663 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
rustPlatform,
fetchCrate,
pkg-config,
}:
rustPlatform.buildRustPackage rec {
pname = "writedisk";
version = "1.3.0";
src = fetchCrate {
inherit version;
pname = "writedisk";
hash = "sha256-MZFnNb8rJMu/nlH8rfnD//bhqPSkhyXucbTrwsRM9OY=";
};
cargoHash = "sha256-2Vc0vCQJY2enwTAgaRgqLdCTtF5znrF3xaCTvF44XX0=";
nativeBuildInputs = [ pkg-config ];
meta = with lib; {
description = "Small utility for writing a disk image to a USB drive";
homepage = "https://github.com/nicholasbishop/writedisk";
platforms = platforms.linux;
license = licenses.asl20;
maintainers = with maintainers; [ devhell ];
};
}