19 lines
619 B
Nix
19 lines
619 B
Nix
|
{ 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 { }
|