From 0215671c6aab24e1885074761f44c502f0bb00e2 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Fri, 27 Sep 2019 16:05:42 +0200 Subject: Initial PoC --- npmPackages/semver/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 npmPackages/semver/default.nix (limited to 'npmPackages/semver') 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; + +} -- cgit v1.2.3