2021-10-10 17:04:16 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "lfs";
|
2022-01-11 16:43:04 +00:00
|
|
|
version = "1.4.0";
|
2021-10-10 17:04:16 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Canop";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-01-11 16:43:04 +00:00
|
|
|
sha256 = "sha256-mTgJ2DbSQprKKy7wTMXwmUAvHS9tacs9Nk1cmEJW9Sg=";
|
2021-10-10 17:04:16 +00:00
|
|
|
};
|
|
|
|
|
2022-01-11 16:43:04 +00:00
|
|
|
cargoSha256 = "sha256-Oiiz7I2eCtNMauvr0K2NtB49NJ/6XWVsJ0mMyEgFb7U=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|