2021-10-10 19:04:16 +02:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "lfs";
|
2022-03-05 10:31:48 +01:00
|
|
|
version = "2.4.0";
|
2021-10-10 19:04:16 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Canop";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-03-05 10:31:48 +01:00
|
|
|
sha256 = "sha256-ySaPR6it/1xEf+Rnypnz5AklxWZZ8NeXpjId4ZSMIs8=";
|
2021-10-10 19:04:16 +02:00
|
|
|
};
|
|
|
|
|
2022-03-05 10:31:48 +01:00
|
|
|
cargoSha256 = "sha256-FLbFDJXVpWycII8mdNDphh8QVXFFnxtFgloweW+BZA0=";
|
2021-10-10 19:04:16 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Get information on your mounted disks";
|
|
|
|
homepage = "https://github.com/Canop/lfs";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ koral ];
|
|
|
|
};
|
|
|
|
}
|