2021-10-10 19:04:16 +02:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "lfs";
|
2021-12-07 10:54:44 +01:00
|
|
|
version = "1.3.0";
|
2021-10-10 19:04:16 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Canop";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-07 10:54:44 +01:00
|
|
|
sha256 = "sha256-nRJ73j3l3xaFImhrHEGmfqESEEjVKhIwdNZNc/RqOcU=";
|
2021-10-10 19:04:16 +02:00
|
|
|
};
|
|
|
|
|
2021-12-07 10:54:44 +01:00
|
|
|
cargoSha256 = "sha256-iAz2s92hWkLCXoQ09mKCyI0yHvH55WaTSl+a5gz44bU=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|