diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 01:35:06 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 02:11:48 +0200 |
commit | 1a64deeb894dc95e2645a75771732c6cc53a79ad (patch) | |
tree | 1b9df4838f894577a09b9b260151756272efeb53 /pkgs/tiv | |
parent | fa25ffd4583cc362075cd5e1b4130f33306103f0 (diff) | |
download | Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.gz Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.zst Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.zip |
Squash changes containing private information
There were a lot of changes since the previous commit, but a lot of them
contained personnal information about users. All thos changes got
stashed into a single commit (history is kept in a different place) and
private information was moved in a separate private repository
Diffstat (limited to 'pkgs/tiv')
-rw-r--r-- | pkgs/tiv/default.nix | 19 | ||||
-rw-r--r-- | pkgs/tiv/tiv_builder.sh | 8 |
2 files changed, 0 insertions, 27 deletions
diff --git a/pkgs/tiv/default.nix b/pkgs/tiv/default.nix deleted file mode 100644 index 3e7a56c..0000000 --- a/pkgs/tiv/default.nix +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | { buildPerlPackage, fetchurl, perlPackages }: | ||
2 | buildPerlPackage rec { | ||
3 | pname = "tiv"; | ||
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 | } | ||
diff --git a/pkgs/tiv/tiv_builder.sh b/pkgs/tiv/tiv_builder.sh deleted file mode 100644 index ea16682..0000000 --- a/pkgs/tiv/tiv_builder.sh +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | orig=$(declare -f preConfigure) | ||
2 | new_name="preConfigure2 ${orig#preConfigure}" | ||
3 | eval "$new_name" | ||
4 | |||
5 | preConfigure() { | ||
6 | preConfigure2 || true | ||
7 | } | ||
8 | |||