nixpkgs/pkgs/tools/filesystems/lfs/default.nix
k0ral 43bbea9387
lfs: init at 1.0.0 (#141178)
Co-authored-by: Samuel Gräfenstein <git@samuelgrf.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-10-10 19:04:16 +02:00

25 lines
549 B
Nix

{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "lfs";
version = "1.1.0";
src = fetchFromGitHub {
owner = "Canop";
repo = pname;
rev = "v${version}";
sha256 = "gez5q1niIhzWJpsEkbVRuQFILo3tTO8aJq7ewZArJ5M=";
};
cargoSha256 = "2U1xDG4bTimtmjwZ1z9ErlaOcBNJdRcHlEWVaiGg01M=";
meta = with lib; {
description = "Get information on your mounted disks";
homepage = "https://github.com/Canop/lfs";
license = licenses.mit;
maintainers = with maintainers; [ koral ];
};
}