From 6ea7522ba23129e47069913a79c51b7471d23cab Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 12 Mar 2008 20:46:47 +0000 Subject: [PATCH] * Added dpkg. svn path=/nixpkgs/trunk/; revision=11088 --- .../tools/package-management/dpkg/default.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/tools/package-management/dpkg/default.nix diff --git a/pkgs/tools/package-management/dpkg/default.nix b/pkgs/tools/package-management/dpkg/default.nix new file mode 100644 index 000000000000..e7eeff0d0045 --- /dev/null +++ b/pkgs/tools/package-management/dpkg/default.nix @@ -0,0 +1,19 @@ +{stdenv, fetchurl, perl, zlib, bzip2}: + +stdenv.mkDerivation { + name = "dpkg-1.14.16.6"; + + src = fetchurl { + url = http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_1.14.16.6.tar.gz; + sha256 = "1x2ajz5z6zbyv80g2b2fwylxiz7bdm71z0i98zasfjf87wkx4ryn"; + }; + + configureFlags = "--without-dselect"; # --with-admindir=/var/lib/dpkg + + buildInputs = [perl zlib bzip2]; + + meta = { + description = "The Debian package manager"; + homepage = http://wiki.debian.org/Teams/Dpkg; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 252874b73b05..441b7db017f4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5847,6 +5847,10 @@ rec { inherit fetchurl stdenv SDL; }; + dpkg = import ../tools/package-management/dpkg { + inherit fetchurl stdenv perl zlib bzip2; + }; + generator = import ../misc/emulators/generator { inherit fetchurl stdenv SDL nasm zlib bzip2 libjpeg; inherit (gtkLibs1x) gtk;