about summary refs log tree commit diff
path: root/pkgs/applications/version-management/degit/default.nix
blob: b126569c5991299dd1db9086526fab9413d66930 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib
, buildNpmPackage
, fetchFromGitHub
}:

buildNpmPackage rec {
  pname = "degit";
  version = "2.8.4";

  src = fetchFromGitHub {
    owner = "Rich-Harris";
    repo = "degit";
    rev = "v${version}";
    hash = "sha256-Vw/gtmKywi5faSCs7Wek80nmnqcPHXlQarD5qMwlsQE=";
  };

  npmDepsHash = "sha256-42cM31C2c1Gr7HWOowMUTEUEyL0mGnyl5fyQECcz1Sw=";

  meta = {
    changelog = "https://github.com/Rich-Harris/degit/blob/${src.rev}/CHANGELOG.md";
    description = "Make copies of git repositories";
    homepage = "https://github.com/Rich-Harris/degit";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ kidonng ];
    mainProgram = "degit";
  };
}