aboutsummaryrefslogtreecommitdiff
path: root/npmPackages/semver
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-09-27 16:05:42 +0200
committerIgor Pashev <pashev.igor@gmail.com>2019-10-02 07:32:32 +0200
commit0215671c6aab24e1885074761f44c502f0bb00e2 (patch)
tree14821547641342b35644f9d63a63a46bab104253 /npmPackages/semver
downloadnpm.nix-0215671c6aab24e1885074761f44c502f0bb00e2.tar.gz
Initial PoC
Diffstat (limited to 'npmPackages/semver')
-rw-r--r--npmPackages/semver/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/npmPackages/semver/default.nix b/npmPackages/semver/default.nix
new file mode 100644
index 0000000..24cf82c
--- /dev/null
+++ b/npmPackages/semver/default.nix
@@ -0,0 +1,17 @@
+{ fetchurl, buildNpmPackage, tap }:
+
+buildNpmPackage rec {
+ pname = "semver";
+ version = "5.7.1";
+ src = fetchurl {
+ url = "https://github.com/npm/node-semver/archive/v${version}.tar.gz";
+ sha256 = "19x7ngr273pbbiar0vzpqqjl9lsrdpmddwaw1sca2w9a36q744f5";
+ };
+
+ npmInputs = [
+ tap
+ ];
+
+ jailbreak = true;
+
+}