diff options
author | tg(x) <*@tg-x.net> | 2016-02-09 22:13:33 +0100 |
---|---|---|
committer | tg(x) <*@tg-x.net> | 2016-02-09 22:44:44 +0100 |
commit | 0ce6603bd86a83bc7800f40e2a887728aea33de5 (patch) | |
tree | db6b92abdc33784f455402957f5417ed9af7ca8d /pkgs/os-specific/linux/pflask | |
parent | ee90c703befceee382be5fe4ba07bdbe2335c841 (diff) | |
download | nixpkgs-0ce6603bd86a83bc7800f40e2a887728aea33de5.tar nixpkgs-0ce6603bd86a83bc7800f40e2a887728aea33de5.tar.gz nixpkgs-0ce6603bd86a83bc7800f40e2a887728aea33de5.tar.bz2 nixpkgs-0ce6603bd86a83bc7800f40e2a887728aea33de5.tar.lz nixpkgs-0ce6603bd86a83bc7800f40e2a887728aea33de5.tar.xz nixpkgs-0ce6603bd86a83bc7800f40e2a887728aea33de5.tar.zst nixpkgs-0ce6603bd86a83bc7800f40e2a887728aea33de5.zip |
pflask
Diffstat (limited to 'pkgs/os-specific/linux/pflask')
-rw-r--r-- | pkgs/os-specific/linux/pflask/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/pflask/default.nix b/pkgs/os-specific/linux/pflask/default.nix new file mode 100644 index 00000000000..e3ba10cbacd --- /dev/null +++ b/pkgs/os-specific/linux/pflask/default.nix @@ -0,0 +1,37 @@ +{ lib, stdenv, fetchurl, python +}: + +stdenv.mkDerivation rec { + name = "pflask-${version}"; + version = "git-2015-10-06"; + rev = "1f575a73d796fbb92e8f2012ded7e97247f1c6c3"; + + src = fetchurl { + url = "https://github.com/ghedo/pflask/archive/${rev}.tar.gz"; + sha256 = "3518aa1e8fa35e059bd63956daed9d8c4115475b66b674d02ebc80484248ddbc"; + }; + + buildInputs = [ python ]; + + configurePhase = '' + ln -s ${fetchurl { + url = "http://ftp.waf.io/pub/release/waf-1.8.6"; + sha256 = "81c4e6a3144c7b2021a839e7277bdaf1cedbbc87302186897b4ae03f4effcbf5"; + }} 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; [ ]; + }; +} |