diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-12-13 21:25:24 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-24 01:40:13 +0200 |
commit | 24fd1fe6c62b7a9fc347794fde043285da272f5c (patch) | |
tree | 65557bf1d241ca389b619dbd24d18d51932ee030 /pkgs/tiv/default.nix | |
download | NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.gz NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.zst NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.zip |
Initial commit published for NUR
Diffstat (limited to 'pkgs/tiv/default.nix')
-rw-r--r-- | pkgs/tiv/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/tiv/default.nix b/pkgs/tiv/default.nix new file mode 100644 index 00000000..c03aabe0 --- /dev/null +++ b/pkgs/tiv/default.nix | |||
@@ -0,0 +1,19 @@ | |||
1 | { buildPerlPackage, fetchurl, perlPackages }: | ||
2 | buildPerlPackage rec { | ||
3 | name = "tiv-${version}"; | ||
4 | version = "2015"; | ||
5 | src = fetchurl { | ||
6 | url = "http://xyne.archlinux.ca/projects/tiv/src/tiv-${version}.tar.xz"; | ||
7 | sha256 = "1vq073v7z7vmcd57lhs4rf4jasji69cpjgkz4dykp94a77p1qq90"; | ||
8 | }; | ||
9 | |||
10 | outputs = ["out"]; | ||
11 | buildInputs = with perlPackages; [ PerlMagick ]; | ||
12 | perlPreHookScript = ./tiv_builder.sh; | ||
13 | perlPreHook = '' | ||
14 | source $perlPreHookScript | ||
15 | ''; | ||
16 | installPhase = '' | ||
17 | install -Dm755 tiv "$out/bin/tiv" | ||
18 | ''; | ||
19 | } | ||