diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/python-packages/buildbot/plugins/buildslist/buildslist.json | 14 | ||||
-rw-r--r-- | pkgs/python-packages/buildbot/plugins/buildslist/default.nix | 12 | ||||
-rw-r--r-- | pkgs/python-packages/buildbot/plugins/default.nix | 3 | ||||
-rw-r--r-- | pkgs/python-packages/default.nix | 2 | ||||
-rw-r--r-- | pkgs/webapps/default.nix | 2 | ||||
-rw-r--r-- | pkgs/webapps/mediagoblin/default.nix | 13 | ||||
-rw-r--r-- | pkgs/webapps/mediagoblin/mediagoblin.json | 14 | ||||
-rw-r--r-- | pkgs/webapps/surfer/Surfer.json | 14 | ||||
-rw-r--r-- | pkgs/webapps/surfer/default.nix | 4 | ||||
-rw-r--r-- | pkgs/webapps/surfer/node-packages.nix | 4 | ||||
-rw-r--r-- | pkgs/webapps/ttrss/default.nix | 10 | ||||
-rw-r--r-- | pkgs/webapps/ttrss/tt-rss.json | 14 |
12 files changed, 29 insertions, 77 deletions
diff --git a/pkgs/python-packages/buildbot/plugins/buildslist/buildslist.json b/pkgs/python-packages/buildbot/plugins/buildslist/buildslist.json deleted file mode 100644 index e61d7ab..0000000 --- a/pkgs/python-packages/buildbot/plugins/buildslist/buildslist.json +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | { | ||
2 | "tag": "fb8641f-master", | ||
3 | "meta": { | ||
4 | "name": "buildslist", | ||
5 | "url": "https://git.immae.eu/perso/Immae/Projets/Buildbot/buildslist", | ||
6 | "branch": "master" | ||
7 | }, | ||
8 | "git": { | ||
9 | "url": "https://git.immae.eu/perso/Immae/Projets/Buildbot/buildslist", | ||
10 | "rev": "fb8641f2badcec9f232cc5f727009911fc1c89b0", | ||
11 | "sha256": "0hgz5yaq0mz9lvfywbkbjap7z55839k18vfyg1yhx6l1mvvbq8zc", | ||
12 | "fetchSubmodules": true | ||
13 | } | ||
14 | } | ||
diff --git a/pkgs/python-packages/buildbot/plugins/buildslist/default.nix b/pkgs/python-packages/buildbot/plugins/buildslist/default.nix index ad87111..3f77f63 100644 --- a/pkgs/python-packages/buildbot/plugins/buildslist/default.nix +++ b/pkgs/python-packages/buildbot/plugins/buildslist/default.nix | |||
@@ -1,8 +1,8 @@ | |||
1 | { mylibs, stdenv, runCommand, writeScriptBin, buildBowerComponents, pythonPackages, libsass, python, fetchurl, jq, yarn, nodejs, yarn2nix-moretea }: | 1 | { stdenv, runCommand, writeScriptBin, buildBowerComponents, pythonPackages, libsass, python, fetchurl, jq, yarn, nodejs, yarn2nix-moretea, sources }: |
2 | let | 2 | let |
3 | buildslist_src = mylibs.fetchedGit ./buildslist.json; | 3 | buildslist_src = sources.buildbot-plugin-buildslist; |
4 | packagejson = runCommand "package.json" { buildInputs = [ jq ]; } '' | 4 | packagejson = runCommand "package.json" { buildInputs = [ jq ]; } '' |
5 | cat ${buildslist_src.src}/package.json | jq -r '.version = "${pythonPackages.buildbot-pkg.version}"|.license= "MIT"' > $out | 5 | cat ${buildslist_src}/package.json | jq -r '.version = "${pythonPackages.buildbot-pkg.version}"|.license= "MIT"' > $out |
6 | ''; | 6 | ''; |
7 | nodeHeaders = fetchurl { | 7 | nodeHeaders = fetchurl { |
8 | url = "https://nodejs.org/download/release/v${nodejs.version}/node-v${nodejs.version}-headers.tar.gz"; | 8 | url = "https://nodejs.org/download/release/v${nodejs.version}/node-v${nodejs.version}-headers.tar.gz"; |
@@ -13,7 +13,7 @@ let | |||
13 | pname = name; | 13 | pname = name; |
14 | inherit (pythonPackages.buildbot-pkg) version; | 14 | inherit (pythonPackages.buildbot-pkg) version; |
15 | packageJSON = packagejson; | 15 | packageJSON = packagejson; |
16 | yarnLock = "${buildslist_src.src}/yarn.lock"; | 16 | yarnLock = "${buildslist_src}/yarn.lock"; |
17 | yarnNix = ./yarn-packages.nix; | 17 | yarnNix = ./yarn-packages.nix; |
18 | pkgConfig = { | 18 | pkgConfig = { |
19 | node-sass = { | 19 | node-sass = { |
@@ -28,7 +28,7 @@ let | |||
28 | buildslist_bower = buildBowerComponents { | 28 | buildslist_bower = buildBowerComponents { |
29 | name = "buildslist"; | 29 | name = "buildslist"; |
30 | generated = ./bower.nix; | 30 | generated = ./bower.nix; |
31 | src = "${buildslist_src.src}/guanlecoja/"; | 31 | src = "${buildslist_src}/guanlecoja/"; |
32 | }; | 32 | }; |
33 | # the buildbot-pkg calls yarn and screws up everything... | 33 | # the buildbot-pkg calls yarn and screws up everything... |
34 | fakeYarn = writeScriptBin "yarn" '' | 34 | fakeYarn = writeScriptBin "yarn" '' |
@@ -57,5 +57,5 @@ pythonPackages.buildPythonPackage rec { | |||
57 | buildInputs = [ buildslist_yarn buildslist_bower ]; | 57 | buildInputs = [ buildslist_yarn buildslist_bower ]; |
58 | 58 | ||
59 | doCheck = false; | 59 | doCheck = false; |
60 | src = buildslist_src.src; | 60 | src = buildslist_src; |
61 | } | 61 | } |
diff --git a/pkgs/python-packages/buildbot/plugins/default.nix b/pkgs/python-packages/buildbot/plugins/default.nix index 4952819..22a8507 100644 --- a/pkgs/python-packages/buildbot/plugins/default.nix +++ b/pkgs/python-packages/buildbot/plugins/default.nix | |||
@@ -1,7 +1,6 @@ | |||
1 | { mylibs, callPackage, python }: | 1 | { callPackage, python }: |
2 | { | 2 | { |
3 | buildslist = callPackage ./buildslist { | 3 | buildslist = callPackage ./buildslist { |
4 | inherit mylibs; | ||
5 | pythonPackages = python.pkgs; | 4 | pythonPackages = python.pkgs; |
6 | }; | 5 | }; |
7 | } | 6 | } |
diff --git a/pkgs/python-packages/default.nix b/pkgs/python-packages/default.nix index 2616d64..9347a06 100644 --- a/pkgs/python-packages/default.nix +++ b/pkgs/python-packages/default.nix | |||
@@ -1,7 +1,7 @@ | |||
1 | { mylibs, callPackage, python }: | 1 | { mylibs, callPackage, python }: |
2 | { | 2 | { |
3 | apprise = callPackage ./apprise { inherit mylibs; pythonPackages = python.pkgs; }; | 3 | apprise = callPackage ./apprise { inherit mylibs; pythonPackages = python.pkgs; }; |
4 | buildbot-plugins = callPackage ./buildbot/plugins { inherit mylibs python; }; | 4 | buildbot-plugins = callPackage ./buildbot/plugins { inherit python; }; |
5 | wokkel = callPackage ./wokkel.nix { pythonPackages = python.pkgs; }; | 5 | wokkel = callPackage ./wokkel.nix { pythonPackages = python.pkgs; }; |
6 | pymilter = callPackage ./pymilter.nix { pythonPackages = python.pkgs; }; | 6 | pymilter = callPackage ./pymilter.nix { pythonPackages = python.pkgs; }; |
7 | } | 7 | } |
diff --git a/pkgs/webapps/default.nix b/pkgs/webapps/default.nix index 33fd730..68604f5 100644 --- a/pkgs/webapps/default.nix +++ b/pkgs/webapps/default.nix | |||
@@ -21,7 +21,7 @@ rec { | |||
21 | spip = callPackage ./spip {}; | 21 | spip = callPackage ./spip {}; |
22 | surfer = callPackage ./surfer { inherit mylibs; }; | 22 | surfer = callPackage ./surfer { inherit mylibs; }; |
23 | taskwarrior-web = callPackage ./taskwarrior-web { inherit mylibs; }; | 23 | taskwarrior-web = callPackage ./taskwarrior-web { inherit mylibs; }; |
24 | ttrss = callPackage ./ttrss { inherit mylibs; }; | 24 | ttrss = callPackage ./ttrss {}; |
25 | wallabag = callPackage ./wallabag { inherit composerEnv; }; | 25 | wallabag = callPackage ./wallabag { inherit composerEnv; }; |
26 | yourls = callPackage ./yourls { inherit mylibs; }; | 26 | yourls = callPackage ./yourls { inherit mylibs; }; |
27 | } | 27 | } |
diff --git a/pkgs/webapps/mediagoblin/default.nix b/pkgs/webapps/mediagoblin/default.nix index d348ce1..29c1981 100644 --- a/pkgs/webapps/mediagoblin/default.nix +++ b/pkgs/webapps/mediagoblin/default.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { makeWrapper, stdenv, writeScript, fetchurl, buildBowerComponents, mylibs, which, python36, gst_all_1, automake, autoconf, nodejs, nodePackages, lib, callPackage }: | 1 | { makeWrapper, stdenv, writeScript, fetchurl, buildBowerComponents, mylibs, which, python36, gst_all_1, automake, autoconf, nodejs, nodePackages, lib, callPackage, sources }: |
2 | let | 2 | let |
3 | overridePython = let | 3 | overridePython = let |
4 | packageOverrides = self: super: { | 4 | packageOverrides = self: super: { |
@@ -108,10 +108,11 @@ let | |||
108 | load_entry_point('mediagoblin', 'console_scripts', 'gmg')() | 108 | load_entry_point('mediagoblin', 'console_scripts', 'gmg')() |
109 | ) | 109 | ) |
110 | ''; | 110 | ''; |
111 | mediagoblinSrc = sources.webapps-mediagoblin; | ||
111 | bowerComponents = buildBowerComponents { | 112 | bowerComponents = buildBowerComponents { |
112 | name = "mediagoblin-bower-components"; | 113 | name = "mediagoblin-bower-components"; |
113 | generated = ./bower-packages.nix; | 114 | generated = ./bower-packages.nix; |
114 | src = (mylibs.fetchedGit ./mediagoblin.json).src; | 115 | src = mediagoblinSrc; |
115 | }; | 116 | }; |
116 | pluginNames = [ "basicsearch" ]; | 117 | pluginNames = [ "basicsearch" ]; |
117 | allPlugins = lib.attrsets.genAttrs pluginNames | 118 | allPlugins = lib.attrsets.genAttrs pluginNames |
@@ -129,7 +130,11 @@ let | |||
129 | passthru = toPassthru newMediagoblin; | 130 | passthru = toPassthru newMediagoblin; |
130 | }); | 131 | }); |
131 | in newMediagoblin; | 132 | in newMediagoblin; |
132 | package = stdenv.mkDerivation (mylibs.fetchedGit ./mediagoblin.json // rec { | 133 | package = stdenv.mkDerivation rec { |
134 | pname = "mediagoblin"; | ||
135 | name = "${pname}-${version}"; | ||
136 | version = mediagoblinSrc.version; | ||
137 | src = mediagoblinSrc; | ||
133 | preConfigure = '' | 138 | preConfigure = '' |
134 | # ./bootstrap.sh | 139 | # ./bootstrap.sh |
135 | aclocal -I m4 --install | 140 | aclocal -I m4 --install |
@@ -178,5 +183,5 @@ let | |||
178 | buildInputs = [ makeWrapper automake autoconf which nodePackages.bower nodejs python ]; | 183 | buildInputs = [ makeWrapper automake autoconf which nodePackages.bower nodejs python ]; |
179 | propagatedBuildInputs = with gst_all_1; [ python gst-libav gst-plugins-good gst-plugins-bad gst-plugins-ugly gstreamer ]; | 184 | propagatedBuildInputs = with gst_all_1; [ python gst-libav gst-plugins-good gst-plugins-bad gst-plugins-ugly gstreamer ]; |
180 | passthru = toPassthru package; | 185 | passthru = toPassthru package; |
181 | }); | 186 | }; |
182 | in package | 187 | in package |
diff --git a/pkgs/webapps/mediagoblin/mediagoblin.json b/pkgs/webapps/mediagoblin/mediagoblin.json deleted file mode 100644 index 7ea72d1..0000000 --- a/pkgs/webapps/mediagoblin/mediagoblin.json +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | { | ||
2 | "tag": "cd465eb-stable", | ||
3 | "meta": { | ||
4 | "name": "mediagoblin", | ||
5 | "url": "git://git.savannah.gnu.org/mediagoblin.git", | ||
6 | "branch": "stable" | ||
7 | }, | ||
8 | "git": { | ||
9 | "url": "git://git.savannah.gnu.org/mediagoblin.git", | ||
10 | "rev": "cd465ebfec837a75a44c4ebd727dffe2fff6d850", | ||
11 | "sha256": "1yz4i4i97z3rxl534a6psaybyjbyp5nnc52v3nvbpzc4pd2s69mx", | ||
12 | "fetchSubmodules": true | ||
13 | } | ||
14 | } | ||
diff --git a/pkgs/webapps/surfer/Surfer.json b/pkgs/webapps/surfer/Surfer.json deleted file mode 100644 index 30a63ba..0000000 --- a/pkgs/webapps/surfer/Surfer.json +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | { | ||
2 | "tag": "4761773-master", | ||
3 | "meta": { | ||
4 | "name": "Surfer", | ||
5 | "url": "https://git.immae.eu/perso/Immae/Projets/Nodejs/Surfer.git", | ||
6 | "branch": "master" | ||
7 | }, | ||
8 | "git": { | ||
9 | "url": "https://git.immae.eu/perso/Immae/Projets/Nodejs/Surfer.git", | ||
10 | "rev": "476177380452c9c7c5b1624805feedc824c5995e", | ||
11 | "sha256": "0ibg7hbilvlq7dw4ayawdcjhfl2nkgzfc4ra6n73y7hjasxrnm07", | ||
12 | "fetchSubmodules": true | ||
13 | } | ||
14 | } | ||
diff --git a/pkgs/webapps/surfer/default.nix b/pkgs/webapps/surfer/default.nix index cf2a7a3..9a04da5 100644 --- a/pkgs/webapps/surfer/default.nix +++ b/pkgs/webapps/surfer/default.nix | |||
@@ -1,8 +1,8 @@ | |||
1 | { callPackage, mylibs }: | 1 | { callPackage, mylibs, sources }: |
2 | # built using node2nix -l package-lock.json | 2 | # built using node2nix -l package-lock.json |
3 | # and changing "./." to "src" | 3 | # and changing "./." to "src" |
4 | (callPackage ./node-packages.nix { | 4 | (callPackage ./node-packages.nix { |
5 | inherit (mylibs) fetchedGit; | 5 | src = sources.webapps-surfer; |
6 | nodeEnv = callPackage mylibs.nodeEnv {}; | 6 | nodeEnv = callPackage mylibs.nodeEnv {}; |
7 | }).package.overrideAttrs(old: { | 7 | }).package.overrideAttrs(old: { |
8 | postInstall = '' | 8 | postInstall = '' |
diff --git a/pkgs/webapps/surfer/node-packages.nix b/pkgs/webapps/surfer/node-packages.nix index e1b1a8a..a1fb5ba 100644 --- a/pkgs/webapps/surfer/node-packages.nix +++ b/pkgs/webapps/surfer/node-packages.nix | |||
@@ -1,6 +1,6 @@ | |||
1 | # This file has been generated by node2nix 1.8.0. Do not edit! | 1 | # This file has been generated by node2nix 1.8.0. Do not edit! |
2 | 2 | ||
3 | {nodeEnv, fetchedGit, fetchurl, fetchgit, globalBuildInputs ? []}: | 3 | {nodeEnv, src, fetchurl, fetchgit, globalBuildInputs ? []}: |
4 | 4 | ||
5 | let | 5 | let |
6 | sources = { | 6 | sources = { |
@@ -2061,7 +2061,7 @@ let | |||
2061 | name = "cloudron-surfer"; | 2061 | name = "cloudron-surfer"; |
2062 | packageName = "cloudron-surfer"; | 2062 | packageName = "cloudron-surfer"; |
2063 | version = "5.10.0"; | 2063 | version = "5.10.0"; |
2064 | src = (fetchedGit ./Surfer.json).src; | 2064 | inherit src; |
2065 | dependencies = [ | 2065 | dependencies = [ |
2066 | (sources."accepts-1.3.4" // { | 2066 | (sources."accepts-1.3.4" // { |
2067 | dependencies = [ | 2067 | dependencies = [ |
diff --git a/pkgs/webapps/ttrss/default.nix b/pkgs/webapps/ttrss/default.nix index 38200a1..aeb573c 100644 --- a/pkgs/webapps/ttrss/default.nix +++ b/pkgs/webapps/ttrss/default.nix | |||
@@ -1,6 +1,6 @@ | |||
1 | { ttrss_config ? "/etc/ttrss/config.php" | 1 | { ttrss_config ? "/etc/ttrss/config.php" |
2 | , varDir ? "/var/lib/ttrss" | 2 | , varDir ? "/var/lib/ttrss" |
3 | , stdenv, mylibs, lib, callPackage }: | 3 | , stdenv, lib, callPackage, sources }: |
4 | let | 4 | let |
5 | pluginNames = [ "auth_ldap" "af_feedmod" "feediron" "ff_instagram" "tumblr_gdpr_ua" ]; | 5 | pluginNames = [ "auth_ldap" "af_feedmod" "feediron" "ff_instagram" "tumblr_gdpr_ua" ]; |
6 | allPlugins = lib.attrsets.genAttrs pluginNames | 6 | allPlugins = lib.attrsets.genAttrs pluginNames |
@@ -19,7 +19,11 @@ let | |||
19 | passthru = toPassthru newTtrss (pkg.plugins ++ plugins); | 19 | passthru = toPassthru newTtrss (pkg.plugins ++ plugins); |
20 | }); | 20 | }); |
21 | in newTtrss; | 21 | in newTtrss; |
22 | package = stdenv.mkDerivation (mylibs.fetchedGit ./tt-rss.json // rec { | 22 | package = stdenv.mkDerivation rec { |
23 | pname = "tt-rss"; | ||
24 | version = sources.webapps-ttrss.version; | ||
25 | name = "${pname}-${version}"; | ||
26 | src = sources.webapps-ttrss; | ||
23 | buildPhase = '' | 27 | buildPhase = '' |
24 | rm -rf lock feed-icons cache | 28 | rm -rf lock feed-icons cache |
25 | ln -sf ${varDir}/{lock,feed-icons,cache} . | 29 | ln -sf ${varDir}/{lock,feed-icons,cache} . |
@@ -29,5 +33,5 @@ let | |||
29 | ln -s ${ttrss_config} $out/config.php | 33 | ln -s ${ttrss_config} $out/config.php |
30 | ''; | 34 | ''; |
31 | passthru = toPassthru package []; | 35 | passthru = toPassthru package []; |
32 | }); | 36 | }; |
33 | in package | 37 | in package |
diff --git a/pkgs/webapps/ttrss/tt-rss.json b/pkgs/webapps/ttrss/tt-rss.json deleted file mode 100644 index e2731b0..0000000 --- a/pkgs/webapps/ttrss/tt-rss.json +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | { | ||
2 | "tag": "986ca25-master", | ||
3 | "meta": { | ||
4 | "name": "tt-rss", | ||
5 | "url": "https://git.tt-rss.org/fox/tt-rss.git", | ||
6 | "branch": "master" | ||
7 | }, | ||
8 | "git": { | ||
9 | "url": "https://git.tt-rss.org/fox/tt-rss.git", | ||
10 | "rev": "986ca251f995f7754a0470d3e0c44538a545081f", | ||
11 | "sha256": "0xkafkh7l9zazm5d6snlq03kdfxfhkb4c8fdsb32wn8b9bhdzf5s", | ||
12 | "fetchSubmodules": true | ||
13 | } | ||
14 | } | ||