From 0a87001d95bef364594d5ab95ae140013f6a77f0 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Mon, 16 Dec 2024 21:52:17 +0100 Subject: [PATCH] python312Packages.cobble: init at 0.1.4 --- .../python-modules/cobble/default.nix | 36 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/development/python-modules/cobble/default.nix diff --git a/pkgs/development/python-modules/cobble/default.nix b/pkgs/development/python-modules/cobble/default.nix new file mode 100644 index 00000000000000..88fc551a95b2fb --- /dev/null +++ b/pkgs/development/python-modules/cobble/default.nix @@ -0,0 +1,36 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + wheel, +}: + +buildPythonPackage rec { + pname = "cobble"; + version = "0.1.4"; + pyproject = true; + + src = fetchFromGitHub { + owner = "mwilliamson"; + repo = "python-cobble"; + rev = version; + hash = "sha256-xi6cCSUnMYc5Tp6+TQlC9Oo9kpam5C7QGCul/IoTW1k="; + }; + + build-system = [ + setuptools + wheel + ]; + + pythonImportsCheck = [ + "cobble" + ]; + + meta = { + description = "Create Python data objects"; + homepage = "https://github.com/mwilliamson/python-cobble"; + license = lib.licenses.bsd2; + maintainers = with lib.maintainers; [ drupol ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7f7330c0fcd537..466108f688528e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2467,6 +2467,8 @@ self: super: with self; { coapthon3 = callPackage ../development/python-modules/coapthon3 { }; + cobble = callPackage ../development/python-modules/cobble { }; + coconut = callPackage ../development/python-modules/coconut { }; cocotb = callPackage ../development/python-modules/cocotb { };