summary refs log tree commit diff
path: root/pkgs/os-specific/linux/plymouth
diff options
context:
space:
mode:
authorCillian de Róiste <goibhniu@fsfe.org>2013-04-12 01:58:38 +0200
committerCillian de Róiste <goibhniu@fsfe.org>2013-04-12 01:58:38 +0200
commit562cb3f460b7d564fe94315d412bc495101118b4 (patch)
tree5fcc704ccdd91ccdc6ea0dd9d07af7cc51f1a1cf /pkgs/os-specific/linux/plymouth
parent1f82083c20b01b0039f67f03a351eae9a284019d (diff)
downloadnixpkgs-562cb3f460b7d564fe94315d412bc495101118b4.tar
nixpkgs-562cb3f460b7d564fe94315d412bc495101118b4.tar.gz
nixpkgs-562cb3f460b7d564fe94315d412bc495101118b4.tar.bz2
nixpkgs-562cb3f460b7d564fe94315d412bc495101118b4.tar.lz
nixpkgs-562cb3f460b7d564fe94315d412bc495101118b4.tar.xz
nixpkgs-562cb3f460b7d564fe94315d412bc495101118b4.tar.zst
nixpkgs-562cb3f460b7d564fe94315d412bc495101118b4.zip
Add Plymouth: WIP
Diffstat (limited to 'pkgs/os-specific/linux/plymouth')
-rw-r--r--pkgs/os-specific/linux/plymouth/default.nix46
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/plymouth/default.nix b/pkgs/os-specific/linux/plymouth/default.nix
new file mode 100644
index 00000000000..b17441f3650
--- /dev/null
+++ b/pkgs/os-specific/linux/plymouth/default.nix
@@ -0,0 +1,46 @@
+{ stdenv, fetchurl, cairo, gtk, libdrm, libpng, pango, pkgconfig }:
+
+stdenv.mkDerivation rec {
+  name = "plymouth-${version}";
+  version = "0.8.8";
+
+  src = fetchurl {
+    url = "http://www.freedesktop.org/software/plymouth/releases/${name}.tar.bz2";
+    sha256 = "16vm3llgci7h63jaclfskj1ii61d8psq7ny2mncml6m3sghs9b8v";
+  };
+
+  buildInputs = [
+    cairo gtk libdrm libpng pango pkgconfig
+  ];
+
+
+  configurePhase = ''
+    export DESTDIR=$out
+    ./configure -sbindir=$out/sbin \
+      --prefix=$out \
+      --exec-prefix=$out \
+      --libdir=$out/lib \
+      --libexecdir=$out/lib \
+      --with-system-root-install \
+      --enable-tracing \
+      --with-rhgb-compat-link \
+      --sysconfdir=/etc \
+      --localstatedir=/var
+  '';
+
+  postInstall = ''
+    cd $out/$out
+    mv bin/* $out/bin
+    mv sbin/* $out/sbin
+    rmdir bin
+    rmdir sbin
+    mv * $out/
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = http://www.freedesktop.org/wiki/Software/Plymouth;
+    description = "A graphical boot animation";
+    license = licenses.gpl2;
+    maintainers = [ maintainers.goibhniu ];
+  };
+}