Package layman
This commit is contained in:
parent
0d693b1789
commit
502518c570
|
@ -238,6 +238,7 @@
|
|||
electron = pkgs.electron_22;
|
||||
};
|
||||
swayimg = pkgs.callPackage ./packages/swayimg/default.nix { };
|
||||
layman = pkgs.callPackage ./packages/layman/default.nix { };
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
{ pkgs, lib, pythonPkgs ? pkgs.python311Packages }:
|
||||
let
|
||||
inherit pythonPkgs;
|
||||
f = { buildPythonPackage, i3ipc, setproctitle, tomli, setuptools }:
|
||||
buildPythonPackage rec {
|
||||
pname = "layman";
|
||||
version = "0.0.1";
|
||||
format = "pyproject";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "frap129";
|
||||
repo = "layman";
|
||||
rev = "c827811d71461d9190c3f5d0d00d339d74ff3407";
|
||||
hash = "sha256-Z8gliSEZgFtOtCZf51J79SqMTHOEd2zwtv0tFiXWn8k=";
|
||||
};
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
propagatedBuildInputs = [ i3ipc setproctitle tomli ];
|
||||
};
|
||||
in pythonPkgs.callPackage f { }
|
Loading…
Reference in New Issue