2016-02-10 19:34:28 +00:00
|
|
|
{ lib, stdenv, fetchurl, python, waf }:
|
2016-02-09 21:13:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pflask-${version}";
|
2016-02-09 21:54:03 +00:00
|
|
|
version = "git-2015-12-17";
|
|
|
|
rev = "599418bb6453eaa0ccab493f9411f13726c1a636";
|
2016-02-09 21:13:33 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ghedo/pflask/archive/${rev}.tar.gz";
|
2016-02-09 21:54:03 +00:00
|
|
|
sha256 = "2545fca37f9da484b46b6fb5e3a9bbba6526a9725189fe4af5227ef6e6fca440";
|
2016-02-09 21:13:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ python ];
|
|
|
|
|
|
|
|
configurePhase = ''
|
2016-02-10 19:34:28 +00:00
|
|
|
ln -s ${waf} waf
|
2016-02-09 21:13:33 +00:00
|
|
|
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; [ ];
|
|
|
|
};
|
|
|
|
}
|