python312Packages.cpe: init at 1.2.1

Update pkgs/development/python-modules/cpe/default.nix

Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
Update pkgs/development/python-modules/cpe/default.nix

Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
Update pkgs/development/python-modules/cpe/default.nix

Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
python312Packages.cpe: init at 1.2.1
python312Packages.cpe: init at 1.2.1
This commit is contained in:
tahanonu
2024-07-07 08:15:22 +01:00
parent fcef8d5b85
commit 98fa5a6797
2 changed files with 31 additions and 0 deletions
@@ -0,0 +1,29 @@
{ lib, fetchFromGitHub, buildPythonPackage, sphinx, setuptools }:
buildPythonPackage rec {
pname = "cpe";
version = "1.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "nilp0inter";
repo = "cpe";
rev = "refs/tags/v${version}";
hash = "sha256-1hTOMbsL1089/yPZbAIs5OgjtEzCBlFv2hGi+u4hV/k=";
};
build-system = [ setuptools ];
dependencies = [ sphinx ];
pythonImportsCheck = [ "cpe" ];
doCheck = false;
meta = {
description = "Common platform enumeration for python";
homepage = "https://github.com/nilp0inter/cpe";
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ tochiaha ];
};
}
+2
View File
@@ -2535,6 +2535,8 @@ self: super: with self; {
coveralls = callPackage ../development/python-modules/coveralls { };
cpe = callPackage ../development/python-modules/cpe { };
cppe = callPackage ../development/python-modules/cppe {
inherit (pkgs) cppe;
};