summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyfaidx/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pyfaidx/default.nix')
-rw-r--r--pkgs/development/python-modules/pyfaidx/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyfaidx/default.nix b/pkgs/development/python-modules/pyfaidx/default.nix
new file mode 100644
index 00000000000..26c36e70d0c
--- /dev/null
+++ b/pkgs/development/python-modules/pyfaidx/default.nix
@@ -0,0 +1,24 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, six
+}:
+
+buildPythonPackage rec {
+  pname = "pyfaidx";
+  version = "0.5.5.2";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1akc8hk8rlw7sv07bv1n2r471acvmxwc57gb69frjpcwggf2phls";
+  };
+
+  propagatedBuildInputs = [ six ];
+
+  meta = with lib; {
+    homepage = "https://github.com/mdshw5/pyfaidx";
+    description = "Python classes for indexing, retrieval, and in-place modification of FASTA files using a samtools compatible index";
+    license = licenses.bsd3;
+    maintainers = [ maintainers.jbedo ];
+  };
+}