Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, fetchFromGitHub 3, rustPlatform 4}: 5 6rustPlatform.buildRustPackage rec { 7 pname = "lfs"; 8 version = "2.6.0"; 9 10 src = fetchFromGitHub { 11 owner = "Canop"; 12 repo = pname; 13 rev = "v${version}"; 14 sha256 = "sha256-+BkHE4vl1oYNR5SX2y7Goly7OwGDXRoZex6YL7Xv2QI="; 15 }; 16 17 cargoSha256 = "sha256-njrjuLHDmcubw8lLPpS9K5la0gRIKq4OrP+MXs1Ro/o="; 18 19 meta = with lib; { 20 description = "Get information on your mounted disks"; 21 homepage = "https://github.com/Canop/lfs"; 22 license = licenses.mit; 23 maintainers = with maintainers; [ koral ]; 24 }; 25}