2025-02-28 22:31:17 -05:00
|
|
|
{python3Packages, ...}: let
|
|
|
|
inherit (builtins.fromTOML (builtins.readFile ./pyproject.toml)) project;
|
|
|
|
in
|
|
|
|
python3Packages.buildPythonPackage {
|
|
|
|
pname = project.name;
|
|
|
|
inherit (project) version;
|
|
|
|
pyproject = true;
|
2025-02-28 21:56:54 -05:00
|
|
|
|
2025-02-28 22:31:17 -05:00
|
|
|
src = ./.;
|
2025-02-28 21:56:54 -05:00
|
|
|
|
2025-02-28 22:31:17 -05:00
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
|
|
setuptools
|
|
|
|
];
|
2025-02-28 21:56:54 -05:00
|
|
|
|
2025-02-28 22:31:17 -05:00
|
|
|
propagatedBuildInputs = with python3Packages; [material-color-utilities];
|
2025-02-28 21:56:54 -05:00
|
|
|
|
2025-02-28 22:31:17 -05:00
|
|
|
postInstall = ''
|
|
|
|
mv -v $out/bin/coloryou.py $out/bin/coloryou
|
2025-02-28 21:56:54 -05:00
|
|
|
'';
|
2025-02-28 22:31:17 -05:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
inherit (project) description;
|
2025-03-05 23:22:06 -05:00
|
|
|
homepage = "https://git.nelim.org/matt1432/nixos-configs/src/branch/master/packages/coloryou";
|
2025-02-28 22:31:17 -05:00
|
|
|
};
|
|
|
|
}
|