git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #12905 from tg-x/pflask

pflask

commitc00fc87f968132cb4e963f2acb51d3cac053ff7a authorDomen Kožar <domen@dev.si> dateWed 10 Feb 2016, 21:20 (11 years ago) parent2b8e9cb60969ab
3 files changed+68
pkgs/development/tools/build-managers/waf/default.nix+31 pkgs/os-specific/linux/pflask/default.nix+33 pkgs/top-level/all-packages.nix+4
pkgs/development/tools/build-managers/waf/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{ lib, stdenv, fetchurl, python2 }:
2+
3+stdenv.mkDerivation rec {
4+ name = "waf-${version}";
5+ version = "1.8.19";
6+
7+ src = fetchurl {
8+ url = "https://waf.io/waf-${version}.tar.bz2";
9+ sha256 = "e5df90556d1f70aca82bb5c5f46aa68d2377bae16b0db044eaa0559df8668c6f";
10+ };
11+
12+ buildInputs = [ python2 ];
13+
14+ configurePhase = ''
15+ python waf-light configure
16+ '';
17+ buildPhase = ''
18+ python waf-light build
19+ '';
20+ installPhase = ''
21+ install waf $out
22+ '';
23+
24+ meta = {
25+ description = "Meta build system";
26+ homepage = "https://waf.io/";
27+ license = lib.licenses.bsd3;
28+ platforms = lib.platforms.all;
29+ maintainers = with lib.maintainers; [ ];
30+ };
31+}
pkgs/os-specific/linux/pflask/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ lib, stdenv, fetchurl, python, waf }:
2+
3+stdenv.mkDerivation rec {
4+ name = "pflask-${version}";
5+ version = "git-2015-12-17";
6+ rev = "599418bb6453eaa0ccab493f9411f13726c1a636";
7+
8+ src = fetchurl {
9+ url = "https://github.com/ghedo/pflask/archive/${rev}.tar.gz";
10+ sha256 = "2545fca37f9da484b46b6fb5e3a9bbba6526a9725189fe4af5227ef6e6fca440";
11+ };
12+
13+ buildInputs = [ python ];
14+
15+ configurePhase = ''
16+ ln -s ${waf} waf
17+ python waf configure --prefix=$out
18+ '';
19+ buildPhase = ''
20+ python waf build
21+ '';
22+ installPhase = ''
23+ python waf install
24+ '';
25+
26+ meta = {
27+ description = "Lightweight process containers for Linux";
28+ homepage = "https://ghedo.github.io/pflask/";
29+ license = lib.licenses.bsd2;
30+ platforms = lib.platforms.linux;
31+ maintainers = with lib.maintainers; [ ];
32+ };
33+}
pkgs/top-level/all-packages.nix+4
@@ -3639,6 +3639,8 @@ let
36393639
36403640 volumeicon = callPackage ../tools/audio/volumeicon { };
36413641
3642+ waf = callPackage ../development/tools/build-managers/waf { };
3643+
36423644 wakelan = callPackage ../tools/networking/wakelan { };
36433645
36443646 wavemon = callPackage ../tools/networking/wavemon { };
@@ -12990,6 +12992,8 @@ let
1299012992 inherit (gst_all_1) gstreamer gst-plugins-base;
1299112993 };
1299212994
12995+ pflask = callPackage ../os-specific/linux/pflask {};
12996+
1299312997 photoqt = qt5.callPackage ../applications/graphics/photoqt { };
1299412998
1299512999 phototonic = qt5.callPackage ../applications/graphics/phototonic { };