summary refs log tree commit diff
path: root/pkgs/applications/networking/newsreaders
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2004-03-29 17:23:01 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2004-03-29 17:23:01 +0000
commit12ae5363ea658d399bdb008f6ded3cde355f9310 (patch)
treee2a2ab3210854bfaad01f955c32b1cda724a8790 /pkgs/applications/networking/newsreaders
parentbc71554fc80a760c3a8e01f9e9e97500aa9ccde1 (diff)
downloadnixpkgs-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-xpkgs/applications/networking/newsreaders/pan/builder.sh5
-rw-r--r--pkgs/applications/networking/newsreaders/pan/default.nix11
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;
 }