nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildNpmPackage,
4 fetchFromGitHub,
5 nix-update-script,
6}:
7
8buildNpmPackage (finalAttrs: {
9 pname = "elm-git-install";
10 version = "0.1.4";
11
12 src = fetchFromGitHub {
13 owner = "robinheghan";
14 repo = "elm-git-install";
15 tag = finalAttrs.version;
16 hash = "sha256-rWmfhAZ4JrmiLZ4N16OvMp6dtZSMHXBNpOsdW0SqRPU=";
17 };
18
19 npmDepsHash = "sha256-/oVW5gm1llA1+AXkzkjlqBEGLaMFyA+zc8HI9nt8Y0Q=";
20
21 dontNpmBuild = true;
22
23 passthru.updateScript = nix-update-script { };
24
25 meta = {
26 changelog = "https://github.com/robinheghan/elm-git-install/blob/${finalAttrs.version}/CHANGES.md";
27 description = "Install private Elm packages from any git url";
28 homepage = "https://github.com/robinheghan/elm-git-install";
29 license = lib.licenses.bsd3;
30 maintainers = with lib.maintainers; [ pyrox0 ];
31 mainProgram = "elm-git-install";
32 };
33})