nixpkgs/pkgs/tools/filesystems/lfs/default.nix

26 lines
563 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "lfs";
2021-12-30 18:49:18 +00:00
version = "1.3.1";
src = fetchFromGitHub {
owner = "Canop";
repo = pname;
rev = "v${version}";
2021-12-30 18:49:18 +00:00
sha256 = "sha256-3zGCVT3SfQm72CF2MasT7k5r1Jx9DRUrXKHBSpvcv10=";
};
2021-12-30 18:49:18 +00:00
cargoSha256 = "sha256-Q4eNvOY5c4KybDKVhcOznxGPUgyjgEYPD8+9r6sECXA=";
meta = with lib; {
description = "Get information on your mounted disks";
homepage = "https://github.com/Canop/lfs";
license = licenses.mit;
maintainers = with maintainers; [ koral ];
};
}