diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-11 17:25:48 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-25 00:04:56 +0200 |
commit | db85e40f318ce354b3a431ec46d573316d88afee (patch) | |
tree | d9f1b0d87f8923c549d154c5de4652a32ebc50b4 /pkgs | |
parent | 7315af9f9babd5942cd685f04fff347b996fb522 (diff) | |
download | NUR-db85e40f318ce354b3a431ec46d573316d88afee.tar.gz NUR-db85e40f318ce354b3a431ec46d573316d88afee.tar.zst NUR-db85e40f318ce354b3a431ec46d573316d88afee.zip |
Add fiche module (a program to submit paste from command line)
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/default.nix | 2 | ||||
-rw-r--r-- | pkgs/fiche/default.nix | 7 | ||||
-rw-r--r-- | pkgs/fiche/fiche.json | 15 |
3 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix index a6630feb..b02c63ec 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix | |||
@@ -75,4 +75,6 @@ rec { | |||
75 | }) {}).monero; | 75 | }) {}).monero; |
76 | 76 | ||
77 | niv = (import sources.niv {}).niv; | 77 | niv = (import sources.niv {}).niv; |
78 | |||
79 | fiche = callPackage ./fiche { inherit mylibs; }; | ||
78 | } | 80 | } |
diff --git a/pkgs/fiche/default.nix b/pkgs/fiche/default.nix new file mode 100644 index 00000000..cc67fb09 --- /dev/null +++ b/pkgs/fiche/default.nix | |||
@@ -0,0 +1,7 @@ | |||
1 | { stdenv, mylibs }: | ||
2 | stdenv.mkDerivation (mylibs.fetchedGithub ./fiche.json // rec { | ||
3 | installPhase = '' | ||
4 | mkdir -p $out/bin | ||
5 | install -m 0755 fiche $out/bin/ | ||
6 | ''; | ||
7 | }) | ||
diff --git a/pkgs/fiche/fiche.json b/pkgs/fiche/fiche.json new file mode 100644 index 00000000..036de7fc --- /dev/null +++ b/pkgs/fiche/fiche.json | |||
@@ -0,0 +1,15 @@ | |||
1 | { | ||
2 | "tag": "4bba916-master", | ||
3 | "meta": { | ||
4 | "name": "fiche", | ||
5 | "url": "https://github.com/solusipse/fiche", | ||
6 | "branch": "master" | ||
7 | }, | ||
8 | "github": { | ||
9 | "owner": "solusipse", | ||
10 | "repo": "fiche", | ||
11 | "rev": "4bba916e0f4a54d98a3947df7e2d0714d92a8bab", | ||
12 | "sha256": "060pxn8ns2zqszv1dlf7zcaf42avn9svya6irwy5d1ry29hp2ds9", | ||
13 | "fetchSubmodules": true | ||
14 | } | ||
15 | } | ||