From 24fd1fe6c62b7a9fc347794fde043285da272f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 13 Dec 2018 21:25:24 +0100 Subject: Initial commit published for NUR --- pkgs/tiv/default.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pkgs/tiv/default.nix (limited to 'pkgs/tiv/default.nix') 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 @@ +{ buildPerlPackage, fetchurl, perlPackages }: +buildPerlPackage rec { + name = "tiv-${version}"; + version = "2015"; + src = fetchurl { + url = "http://xyne.archlinux.ca/projects/tiv/src/tiv-${version}.tar.xz"; + sha256 = "1vq073v7z7vmcd57lhs4rf4jasji69cpjgkz4dykp94a77p1qq90"; + }; + + outputs = ["out"]; + buildInputs = with perlPackages; [ PerlMagick ]; + perlPreHookScript = ./tiv_builder.sh; + perlPreHook = '' + source $perlPreHookScript + ''; + installPhase = '' + install -Dm755 tiv "$out/bin/tiv" + ''; +} -- cgit v1.2.3