Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildNpmPackage, 4 fetchFromGitHub, 5}: 6 7buildNpmPackage rec { 8 pname = "degit"; 9 version = "2.8.4"; 10 11 src = fetchFromGitHub { 12 owner = "Rich-Harris"; 13 repo = "degit"; 14 rev = "v${version}"; 15 hash = "sha256-Vw/gtmKywi5faSCs7Wek80nmnqcPHXlQarD5qMwlsQE="; 16 }; 17 18 npmDepsHash = "sha256-42cM31C2c1Gr7HWOowMUTEUEyL0mGnyl5fyQECcz1Sw="; 19 20 meta = { 21 changelog = "https://github.com/Rich-Harris/degit/blob/${src.rev}/CHANGELOG.md"; 22 description = "Make copies of git repositories"; 23 homepage = "https://github.com/Rich-Harris/degit"; 24 license = lib.licenses.mit; 25 maintainers = with lib.maintainers; [ kidonng ]; 26 mainProgram = "degit"; 27 }; 28}