diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-07 09:06:29 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-07 10:19:52 +0200 |
commit | b44b42a15197813060bf9405d5a07b8b2c699af5 (patch) | |
tree | 4f424a145aa0064653f62de04ddba6bb2c31f49a /pkgs/webapps/yourls/plugins/ldap | |
parent | 6213b17b751fcc6ccd7df9a773dc29d9e8f22c21 (diff) | |
download | Nix-b44b42a15197813060bf9405d5a07b8b2c699af5.tar.gz Nix-b44b42a15197813060bf9405d5a07b8b2c699af5.tar.zst Nix-b44b42a15197813060bf9405d5a07b8b2c699af5.zip |
Move yourls to pkgs
Diffstat (limited to 'pkgs/webapps/yourls/plugins/ldap')
-rw-r--r-- | pkgs/webapps/yourls/plugins/ldap/default.nix | 8 | ||||
-rw-r--r-- | pkgs/webapps/yourls/plugins/ldap/ldap.json | 15 |
2 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/webapps/yourls/plugins/ldap/default.nix b/pkgs/webapps/yourls/plugins/ldap/default.nix new file mode 100644 index 0000000..01dc6fb --- /dev/null +++ b/pkgs/webapps/yourls/plugins/ldap/default.nix | |||
@@ -0,0 +1,8 @@ | |||
1 | { stdenv, mylibs }: | ||
2 | stdenv.mkDerivation (mylibs.fetchedGithub ./ldap.json // rec { | ||
3 | installPhase = '' | ||
4 | mkdir -p $out | ||
5 | cp plugin.php $out | ||
6 | ''; | ||
7 | passthru.pluginName = "ldap"; | ||
8 | }) | ||
diff --git a/pkgs/webapps/yourls/plugins/ldap/ldap.json b/pkgs/webapps/yourls/plugins/ldap/ldap.json new file mode 100644 index 0000000..9411e4a --- /dev/null +++ b/pkgs/webapps/yourls/plugins/ldap/ldap.json | |||
@@ -0,0 +1,15 @@ | |||
1 | { | ||
2 | "tag": "2a3cb03-master", | ||
3 | "meta": { | ||
4 | "name": "yourls-ldap-plugin", | ||
5 | "url": "https://github.com/k3a/yourls-ldap-plugin", | ||
6 | "branch": "master" | ||
7 | }, | ||
8 | "github": { | ||
9 | "owner": "k3a", | ||
10 | "repo": "yourls-ldap-plugin", | ||
11 | "rev": "2a3cb0334b8a6b81b284a7196e614bbd2b2b1615", | ||
12 | "sha256": "0cchbnli77d295lzf7kjmn4dcxj2bmdqa9qc3f8l8qgmp4n5n0gh", | ||
13 | "fetchSubmodules": true | ||
14 | } | ||
15 | } | ||