nixpkgs/pkgs/tools/misc/writedisk/default.nix

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

30 lines
670 B
Nix
Raw Normal View History

2022-02-21 13:23:11 +00:00
{ lib
, rustPlatform
, fetchCrate
, pkg-config
, stdenv
}:
rustPlatform.buildRustPackage rec {
pname = "writedisk";
2022-08-19 16:36:59 +00:00
version = "1.3.0";
2022-02-21 13:23:11 +00:00
src = fetchCrate {
inherit version;
pname = "writedisk";
2022-08-19 16:36:59 +00:00
sha256 = "sha256-MZFnNb8rJMu/nlH8rfnD//bhqPSkhyXucbTrwsRM9OY=";
2022-02-21 13:23:11 +00:00
};
2022-08-19 16:36:59 +00:00
cargoSha256 = "sha256-DGroBBozAViibbIYbtqH2SxIGLqdtyJ9XKyz7O1L05g=";
2022-02-21 13:23:11 +00:00
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 ];
};
}