My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/tools/misc/writedisk/default.nix

29 lines
670 B

{ 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 ];
};
}