Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 31 lines 793 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "dtool"; 9 version = "0.12.0"; 10 11 src = fetchFromGitHub { 12 owner = "guoxbin"; 13 repo = "dtool"; 14 rev = "v${version}"; 15 hash = "sha256-m4H+ANwEbK6vGW3oIVZqnqvMiAKxNJf2TLIGh/G6AU4="; 16 }; 17 18 cargoHash = "sha256-C0H5cIMMfUPJ2iJCUs1jEu3Ln8CdDgbgstMnH/f9FRY="; 19 # FIXME: remove patch when upstream version of rustc-serialize is updated 20 cargoPatches = [ ./rustc-serialize-fix.patch ]; 21 22 checkType = "debug"; 23 24 meta = with lib; { 25 description = "Command-line tool collection to assist development written in RUST"; 26 homepage = "https://github.com/guoxbin/dtool"; 27 license = licenses.gpl3Only; 28 maintainers = with maintainers; [ linuxissuper ]; 29 mainProgram = "dtool"; 30 }; 31}