Package layman

This commit is contained in:
Nathan McCarty 2023-04-19 20:34:45 -04:00
parent 0d693b1789
commit 502518c570
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
2 changed files with 19 additions and 0 deletions

View File

@ -238,6 +238,7 @@
electron = pkgs.electron_22;
};
swayimg = pkgs.callPackage ./packages/swayimg/default.nix { };
layman = pkgs.callPackage ./packages/layman/default.nix { };
};
});
}

View File

@ -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 { }