Merge pull request #161230 from devhell/init-writedisk
writedisk: init at 1.2.0
This commit is contained in:
commit
1822c35423
2 changed files with 31 additions and 0 deletions
29
pkgs/tools/misc/writedisk/default.nix
Normal file
29
pkgs/tools/misc/writedisk/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchCrate
|
||||||
|
, pkg-config
|
||||||
|
, stdenv
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "writedisk";
|
||||||
|
version = "1.2.0";
|
||||||
|
|
||||||
|
src = fetchCrate {
|
||||||
|
inherit version;
|
||||||
|
pname = "writedisk";
|
||||||
|
sha256 = "sha256-f5+Qw9Agepx2wIUmsAA2M9g/ajbFjjLR5RPPtQncRKU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-SMAhh7na+XQyVtbfzsBGOCdBRLP58JL1fPSBVKFkhdc=";
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1087,6 +1087,8 @@ with pkgs;
|
||||||
use64 = true;
|
use64 = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
writedisk = callPackage ../tools/misc/writedisk { };
|
||||||
|
|
||||||
xcd = callPackage ../tools/misc/xcd { };
|
xcd = callPackage ../tools/misc/xcd { };
|
||||||
|
|
||||||
xrootd = callPackage ../tools/networking/xrootd { };
|
xrootd = callPackage ../tools/networking/xrootd { };
|
||||||
|
|
Loading…
Reference in a new issue