Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, rustPlatform, fetchFromGitHub }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "kondo"; 5 version = "0.6"; 6 7 src = fetchFromGitHub { 8 owner = "tbillington"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-f0eRM4U2FwMGjmQKb3tjX2TRv1hN//FkoA2h6WmFOQk="; 12 }; 13 14 cargoHash = "sha256-DouQN9Lo/CoqZZD3HuO1+Xzvc2yL5l157TeAi+bmfrE="; 15 16 meta = with lib; { 17 description = "Save disk space by cleaning unneeded files from software projects"; 18 homepage = "https://github.com/tbillington/kondo"; 19 license = licenses.mit; 20 maintainers = with maintainers; [ Br1ght0ne ]; 21 }; 22}