Merge pull request #12905 from tg-x/pflask

pflask
This commit is contained in:
Domen Kožar 2016-02-10 21:20:14 +00:00
commit c00fc87f96
3 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib, stdenv, fetchurl, python2 }:
stdenv.mkDerivation rec {
name = "waf-${version}";
version = "1.8.19";
src = fetchurl {
url = "https://waf.io/waf-${version}.tar.bz2";
sha256 = "e5df90556d1f70aca82bb5c5f46aa68d2377bae16b0db044eaa0559df8668c6f";
};
buildInputs = [ python2 ];
configurePhase = ''
python waf-light configure
'';
buildPhase = ''
python waf-light build
'';
installPhase = ''
install waf $out
'';
meta = {
description = "Meta build system";
homepage = "https://waf.io/";
license = lib.licenses.bsd3;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ ];
};
}

View File

@ -0,0 +1,33 @@
{ lib, stdenv, fetchurl, python, waf }:
stdenv.mkDerivation rec {
name = "pflask-${version}";
version = "git-2015-12-17";
rev = "599418bb6453eaa0ccab493f9411f13726c1a636";
src = fetchurl {
url = "https://github.com/ghedo/pflask/archive/${rev}.tar.gz";
sha256 = "2545fca37f9da484b46b6fb5e3a9bbba6526a9725189fe4af5227ef6e6fca440";
};
buildInputs = [ python ];
configurePhase = ''
ln -s ${waf} waf
python waf configure --prefix=$out
'';
buildPhase = ''
python waf build
'';
installPhase = ''
python waf install
'';
meta = {
description = "Lightweight process containers for Linux";
homepage = "https://ghedo.github.io/pflask/";
license = lib.licenses.bsd2;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ ];
};
}

View File

@ -3639,6 +3639,8 @@ let
volumeicon = callPackage ../tools/audio/volumeicon { }; volumeicon = callPackage ../tools/audio/volumeicon { };
waf = callPackage ../development/tools/build-managers/waf { };
wakelan = callPackage ../tools/networking/wakelan { }; wakelan = callPackage ../tools/networking/wakelan { };
wavemon = callPackage ../tools/networking/wavemon { }; wavemon = callPackage ../tools/networking/wavemon { };
@ -12990,6 +12992,8 @@ let
inherit (gst_all_1) gstreamer gst-plugins-base; inherit (gst_all_1) gstreamer gst-plugins-base;
}; };
pflask = callPackage ../os-specific/linux/pflask {};
photoqt = qt5.callPackage ../applications/graphics/photoqt { }; photoqt = qt5.callPackage ../applications/graphics/photoqt { };
phototonic = qt5.callPackage ../applications/graphics/phototonic { }; phototonic = qt5.callPackage ../applications/graphics/phototonic { };