about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ipyxact
diff options
context:
space:
mode:
authorGenericNerdyUsername <genericnerdyusername@proton.me>2023-01-27 00:49:32 +0000
committerSandro Jäckel <sandro.jaeckel@gmail.com>2023-05-21 18:42:52 +0200
commita83a3597cd17386067a99331a86e38151d52e1ff (patch)
treed8412fd07f542cae6c9d5c90b3541566347540a6 /pkgs/development/python-modules/ipyxact
parentdc1813ff77c467d6e04d0023f93b748ebca0eefa (diff)
python3Packages.ipyxact: init at 0.3.2
Diffstat (limited to 'pkgs/development/python-modules/ipyxact')
-rw-r--r--pkgs/development/python-modules/ipyxact/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ipyxact/default.nix b/pkgs/development/python-modules/ipyxact/default.nix
new file mode 100644
index 0000000000000..7ddaf432d1284
--- /dev/null
+++ b/pkgs/development/python-modules/ipyxact/default.nix
@@ -0,0 +1,31 @@
+{ buildPythonPackage
+, fetchFromGitHub
+, lib
+, pyyaml
+, six
+, lxml
+}:
+
+buildPythonPackage rec {
+  pname = "ipyxact";
+  version = "0.3.2";
+
+  propagatedBuildInputs = [ pyyaml ];
+  checkInputs = [ six lxml ];
+
+  src = fetchFromGitHub {
+    owner = "olofk";
+    repo = pname;
+    rev = "v${version}";
+    hash = "sha256-myD+NnqcxxaSAV7qZa8xqeciaiFqFePqIzd7sb/2GXA=";
+  };
+
+  pythonImportsCheck = [ "ipyxact" ];
+
+  meta = with lib; {
+    homepage = "https://github.com/olofk/ipyxact";
+    description = "IP-XACT parser";
+    maintainers = with maintainers; [ genericnerdyusername ];
+    license = licenses.mit;
+  };
+}