nixpkgs/pkgs/os-specific/linux/pflask/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
692 B
Nix
Raw Normal View History

2022-03-17 13:54:24 +00:00
{ lib, stdenv, fetchFromGitHub, python3, wafHook }:
2016-02-09 21:13:33 +00:00
stdenv.mkDerivation rec {
pname = "pflask";
2022-03-17 13:54:24 +00:00
version = "unstable-2018-01-23";
2016-02-09 21:13:33 +00:00
2021-09-19 15:07:48 +00:00
src = fetchFromGitHub {
owner = "ghedo";
2022-03-17 13:54:24 +00:00
repo = pname;
rev = "9ac31ffe2ed29453218aac89ae992abbd6e7cc69";
hash = "sha256-bAKPUj/EipZ98kHbZiFZZI3hLVMoQpCrYKMmznpSDhg=";
2016-02-09 21:13:33 +00:00
};
2022-03-17 13:54:24 +00:00
nativeBuildInputs = [ python3 wafHook ];
postInstall = ''
mkdir -p $out/bin
cp build/pflask $out/bin
'';
2016-02-09 21:13:33 +00:00
meta = {
description = "Lightweight process containers for Linux";
2021-09-19 15:07:48 +00:00
homepage = "https://ghedo.github.io/pflask/";
license = lib.licenses.bsd2;
platforms = lib.platforms.linux;
2016-02-09 21:13:33 +00:00
maintainers = with lib.maintainers; [ ];
};
}