about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sip
diff options
context:
space:
mode:
authorEduardo Sánchez Muñoz <esm@eduardosm.net>2020-12-31 12:57:27 +0100
committerEduardo Sánchez Muñoz <esm@eduardosm.net>2021-01-14 19:52:40 +0100
commitfb7b08de3220cd383165fcf5a7ccf9b93b54e9ff (patch)
tree6372bc8999f97e86ec1b23ea3f12f84ed727130a /pkgs/development/python-modules/sip
parent88b72c33d73a5fdc176cec6b50b3034fc3e7a4f2 (diff)
sip_5: init at 5.5.0
Diffstat (limited to 'pkgs/development/python-modules/sip')
-rw-r--r--pkgs/development/python-modules/sip/5.x.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sip/5.x.nix b/pkgs/development/python-modules/sip/5.x.nix
new file mode 100644
index 0000000000000..cebffd5765bd8
--- /dev/null
+++ b/pkgs/development/python-modules/sip/5.x.nix
@@ -0,0 +1,26 @@
+{ lib, fetchPypi, buildPythonPackage, packaging, toml }:
+
+buildPythonPackage rec {
+  pname = "sip";
+  version = "5.5.0";
+
+  src = fetchPypi {
+    pname = "sip";
+    inherit version;
+    sha256 = "1idaivamp1jvbbai9yzv471c62xbqxhaawccvskaizihkd0lq0jx";
+  };
+
+  propagatedBuildInputs = [ packaging toml ];
+
+  # There aren't tests
+  doCheck = false;
+
+  pythonImportsCheck = [ "sipbuild" ];
+
+  meta = with lib; {
+    description = "Creates C++ bindings for Python modules";
+    homepage    = "http://www.riverbankcomputing.co.uk/";
+    license     = licenses.gpl3Only;
+    maintainers = with maintainers; [ eduardosm ];
+  };
+}