Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "cdwe"; 9 version = "0.3.0"; 10 11 src = fetchFromGitHub { 12 owner = "synoet"; 13 repo = "cdwe"; 14 rev = version; 15 hash = "sha256-6NWhx82BXhWhbI18k5gE3vEkw9v5gstE8ICJhtq68rM="; 16 }; 17 18 cargoHash = "sha256-pZpG98lwvggBU1TBb2JuSNLev5Jx8n5QjY902dJVn0Y="; 19 20 meta = with lib; { 21 description = "Configurable cd wrapper that lets you define your environment per directory"; 22 homepage = "https://github.com/synoet/cdwe"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ figsoda ]; 25 mainProgram = "cdwe"; 26 }; 27}