Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 24 lines 666 B view raw
1{ lib, rustPlatform, fetchFromGitHub }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "dum"; 5 version = "0.1.19"; 6 7 src = fetchFromGitHub { 8 owner = "egoist"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "0rnm59zhpaa8nbbh6rh53svnlb484q1k6s4wc4w9516b18xhmkca"; 12 }; 13 14 cargoHash = "sha256-aMx4xfWYiiz5TY/CVCogZ3WNR6md77jb8RKhhVwqeto="; 15 16 meta = with lib; { 17 description = "Npm scripts runner written in Rust"; 18 mainProgram = "dum"; 19 homepage = "https://github.com/egoist/dum"; 20 changelog = "https://github.com/egoist/dum/blob/v${version}/CHANGELOG.md"; 21 license = licenses.mit; 22 maintainers = with maintainers; [ figsoda ]; 23 }; 24}