mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
f1ec434848
with the help of deadnix & nil
29 lines
661 B
Nix
29 lines
661 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchCrate
|
|
, pkg-config
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "writedisk";
|
|
version = "1.3.0";
|
|
|
|
src = fetchCrate {
|
|
inherit version;
|
|
pname = "writedisk";
|
|
sha256 = "sha256-MZFnNb8rJMu/nlH8rfnD//bhqPSkhyXucbTrwsRM9OY=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-DGroBBozAViibbIYbtqH2SxIGLqdtyJ9XKyz7O1L05g=";
|
|
|
|
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 ];
|
|
};
|
|
}
|