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