diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2004-03-29 17:23:01 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2004-03-29 17:23:01 +0000 |
commit | 12ae5363ea658d399bdb008f6ded3cde355f9310 (patch) | |
tree | e2a2ab3210854bfaad01f955c32b1cda724a8790 /pkgs/applications/networking/newsreaders | |
parent | bc71554fc80a760c3a8e01f9e9e97500aa9ccde1 (diff) | |
download | nixpkgs-12ae5363ea658d399bdb008f6ded3cde355f9310.tar nixpkgs-12ae5363ea658d399bdb008f6ded3cde355f9310.tar.gz nixpkgs-12ae5363ea658d399bdb008f6ded3cde355f9310.tar.bz2 nixpkgs-12ae5363ea658d399bdb008f6ded3cde355f9310.tar.lz nixpkgs-12ae5363ea658d399bdb008f6ded3cde355f9310.tar.xz nixpkgs-12ae5363ea658d399bdb008f6ded3cde355f9310.tar.zst nixpkgs-12ae5363ea658d399bdb008f6ded3cde355f9310.zip |
* Remove trivial builders.
* Make builders unexecutable by removing the hash-bang line and execute permission. * Convert calls to `derivation' to `mkDerivation'. * Remove `system' and `stdenv' attributes from calls to `mkDerivation'. These transformations were all done automatically, so it is quite possible I broke stuff. * Put the `mkDerivation' function in stdenv/generic. svn path=/nixpkgs/trunk/; revision=874
Diffstat (limited to 'pkgs/applications/networking/newsreaders')
-rwxr-xr-x | pkgs/applications/networking/newsreaders/pan/builder.sh | 5 | ||||
-rw-r--r-- | pkgs/applications/networking/newsreaders/pan/default.nix | 11 |
2 files changed, 7 insertions, 9 deletions
diff --git a/pkgs/applications/networking/newsreaders/pan/builder.sh b/pkgs/applications/networking/newsreaders/pan/builder.sh deleted file mode 100755 index f98a3482350..00000000000 --- a/pkgs/applications/networking/newsreaders/pan/builder.sh +++ /dev/null @@ -1,5 +0,0 @@ -#! /bin/sh -e - -buildInputs="$pkgconfig $gtk $gtkspell $gnet $libxml2 $perl $pcre" -. $stdenv/setup -genericBuild diff --git a/pkgs/applications/networking/newsreaders/pan/default.nix b/pkgs/applications/networking/newsreaders/pan/default.nix index e71cb9c18cf..aace5f60091 100644 --- a/pkgs/applications/networking/newsreaders/pan/default.nix +++ b/pkgs/applications/networking/newsreaders/pan/default.nix @@ -8,9 +8,8 @@ assert pkgconfig != null && gtk != null && gnet != null assert spellChecking -> gtkspell != null && gtk == gtkspell.gtk; assert gtk.glib == gnet.glib; -derivation { +stdenv.mkDerivation { name = "pan-0.14.2.91"; - system = stdenv.system; builder = ./builder.sh; src = fetchurl { @@ -18,6 +17,10 @@ derivation { md5 = "4770d899a1c1ba968ce96bc5aeb07b62"; }; - gtkspell = if spellChecking then gtkspell else null; - inherit spellChecking stdenv pkgconfig gtk gnet libxml2 perl pcre; + buildInputs = [ + pkgconfig gtk gnet libxml2 perl pcre + (if spellChecking then gtkspell else null) + ]; + + inherit spellChecking stdenv; } |