Merge remote-tracking branch 'origin/master' into stdenv-updates
This commit is contained in:
@@ -2,17 +2,22 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "cowsay-3.03";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.nog.net/~tony/warez/cowsay-3.03.tar.gz;
|
||||
sha256 = "1bxj802na2si2bk5zh7n0b7c33mg8a5n2wnvh0vihl9bmjkp51hb";
|
||||
sha256 = "1s3c0g5vmsadicc4lrlkmkm8znm4y6wnxd8kyv9xgm676hban1il";
|
||||
};
|
||||
buildInputs = [perl];
|
||||
|
||||
buildInputs = [ perl ];
|
||||
|
||||
installPhase = ''
|
||||
bash ./install.sh $out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "cowsay is a program which generates ASCII pictures of a cow with a message.";
|
||||
description = "A program which generates ASCII pictures of a cow with a message";
|
||||
homepage = http://www.nog.net/~tony/warez/cowsay.shtml;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.rob ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,22 +1,21 @@
|
||||
{ stdenv, fetchurl, parted, gtk, glib, intltool, gettext, libuuid
|
||||
, pkgconfig, gtkmm, gnomedocutils, libxml2 }:
|
||||
, pkgconfig, gtkmm, libxml2 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gparted-0.8.1";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gparted-0.14.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/gparted/gparted-0.5.1/gparted-0.8.1.tar.bz2;
|
||||
sha256 = "128pnrcqp3d4a4jnjxm0mqglbyrs2q841pmg5g8ilyc827b6j163";
|
||||
url = "mirror://sourceforge/gparted/${name}.tar.bz2";
|
||||
sha256 = "0697sq2dbs9cn689bk68gs9pj3k08bfp9wfg6j291zrprdd3rddi";
|
||||
};
|
||||
|
||||
configureFlags = "--disable-doc";
|
||||
|
||||
buildInputs =
|
||||
[ parted gtk glib intltool gettext libuuid pkgconfig gtkmm
|
||||
gnomedocutils libxml2
|
||||
];
|
||||
buildInputs = [
|
||||
parted gtk glib intltool gettext libuuid pkgconfig gtkmm libxml2
|
||||
];
|
||||
|
||||
meta = {
|
||||
meta = {
|
||||
description = "Graphical disk partitioning tool";
|
||||
homepage = http://gparted.sourceforge.net;
|
||||
license = "GPLv2";
|
||||
|
||||
32
pkgs/tools/misc/gummiboot/default.nix
Normal file
32
pkgs/tools/misc/gummiboot/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ stdenv, fetchurl, gnu_efi, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gummiboot-16";
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
patches = [ ./no-usr.patch ];
|
||||
|
||||
buildFlags = [
|
||||
"GNU_EFI=${gnu_efi}"
|
||||
] ++ stdenv.lib.optional (stdenv.system == "i686-linux") "ARCH=ia32";
|
||||
|
||||
installPhase = "mkdir -p $out/bin; mv gummiboot.efi $out/bin";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://cgit.freedesktop.org/gummiboot/snapshot/${name}.zip";
|
||||
sha256 = "0as5svmvsbz08qgbvns77qfb36xi9lx2138ikiinqv6finzm8fi1";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A simple UEFI boot manager which executes configured EFI images";
|
||||
|
||||
homepage = http://freedesktop.org/wiki/Software/gummiboot;
|
||||
|
||||
license = stdenv.lib.licenses.lgpl21Plus;
|
||||
|
||||
platforms = [ "x86_64-linux" "i686-linux" ];
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
||||
};
|
||||
}
|
||||
20
pkgs/tools/misc/gummiboot/no-usr.patch
Normal file
20
pkgs/tools/misc/gummiboot/no-usr.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
diff -Naur gummiboot-16-orig/Makefile gummiboot-16/Makefile
|
||||
--- gummiboot-16-orig/Makefile 2013-01-24 04:20:58.000000000 -0500
|
||||
+++ gummiboot-16/Makefile 2013-02-01 17:27:42.922371399 -0500
|
||||
@@ -1,13 +1,13 @@
|
||||
VERSION=16
|
||||
|
||||
ARCH=$(shell $(CC) -dumpmachine | sed "s/\(-\).*$$//")
|
||||
-LIBDIR=$(shell echo $$(cd /usr/lib/$$(gcc -print-multi-os-directory); pwd))
|
||||
+LIBDIR=$(GNU_EFI)/lib
|
||||
LIBEFIDIR=$(or $(wildcard $(LIBDIR)/gnuefi), $(LIBDIR))
|
||||
|
||||
CPPFLAGS = \
|
||||
-I. \
|
||||
- -I/usr/include/efi \
|
||||
- -I/usr/include/efi/$(ARCH)
|
||||
+ -I$(GNU_EFI)/include/efi \
|
||||
+ -I$(GNU_EFI)/include/efi/$(ARCH)
|
||||
|
||||
CFLAGS = \
|
||||
-DVERSION=$(VERSION) \
|
||||
@@ -1,56 +0,0 @@
|
||||
{ stdenv, fetchurl, devicemapper, libuuid, gettext, readline
|
||||
, utillinux, enableStatic ? false, hurd ? null }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "parted-2.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/parted/${name}.tar.xz";
|
||||
sha256 = "0sabj81nawcjm8ww34lxg65ka8crv3w2ab4crh8ypw5agg681836";
|
||||
};
|
||||
|
||||
buildInputs = [ libuuid ]
|
||||
++ stdenv.lib.optional (readline != null) readline
|
||||
++ stdenv.lib.optional (gettext != null) gettext
|
||||
++ stdenv.lib.optional (devicemapper != null) devicemapper
|
||||
++ stdenv.lib.optional (hurd != null) hurd;
|
||||
|
||||
configureFlags =
|
||||
(if (readline != null)
|
||||
then [ "--with-readline" ]
|
||||
else [ "--without-readline" ])
|
||||
++ stdenv.lib.optional (devicemapper == null) "--disable-device-mapper"
|
||||
++ stdenv.lib.optional enableStatic "--enable-static";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
preCheck =
|
||||
stdenv.lib.optionalString doCheck
|
||||
# The `t0400-loop-clobber-infloop.sh' test wants `mkswap'.
|
||||
"export PATH=\"${utillinux}/sbin:$PATH\"";
|
||||
|
||||
meta = {
|
||||
description = "GNU Parted, a tool to create, destroy, resize, check, and copy partitions";
|
||||
|
||||
longDescription = ''
|
||||
GNU Parted is an industrial-strength package for creating, destroying,
|
||||
resizing, checking and copying partitions, and the file systems on
|
||||
them. This is useful for creating space for new operating systems,
|
||||
reorganising disk usage, copying data on hard disks and disk imaging.
|
||||
|
||||
It contains a library, libparted, and a command-line frontend, parted,
|
||||
which also serves as a sample implementation and script backend.
|
||||
'';
|
||||
|
||||
homepage = http://www.gnu.org/software/parted/;
|
||||
license = "GPLv3+";
|
||||
|
||||
maintainers = [
|
||||
# Add your name here!
|
||||
stdenv.lib.maintainers.ludo
|
||||
];
|
||||
|
||||
# GNU Parted requires libuuid, which is part of util-linux-ng.
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
configureFlags="--enable-telnet --enable-pam --infodir=$out/share/info --mandir=$out/share/man"
|
||||
configureFlags="--enable-telnet --enable-pam --infodir=$out/share/info --mandir=$out/share/man --with-sys-screenrc=/etc/screenrc"
|
||||
sed -i -e "s|/usr/local|/non-existent|g" -e "s|/usr|/non-existent|g" configure Makefile.in */Makefile.in
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user