summary refs log tree commit diff
path: root/pkgs/development/python-modules/bitstring/default.nix
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2017-10-29 11:40:45 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2017-10-29 11:50:59 +0100
commitb1e23a87b18be0077292eefffe660a233fa33123 (patch)
tree6ace567286344f483aed4632a77efcbd5ca97109 /pkgs/development/python-modules/bitstring/default.nix
parent0b93dbe9d63895e1ba845bc15dcd5f107958097a (diff)
downloadnixpkgs-b1e23a87b18be0077292eefffe660a233fa33123.tar
nixpkgs-b1e23a87b18be0077292eefffe660a233fa33123.tar.gz
nixpkgs-b1e23a87b18be0077292eefffe660a233fa33123.tar.bz2
nixpkgs-b1e23a87b18be0077292eefffe660a233fa33123.tar.lz
nixpkgs-b1e23a87b18be0077292eefffe660a233fa33123.tar.xz
nixpkgs-b1e23a87b18be0077292eefffe660a233fa33123.tar.zst
nixpkgs-b1e23a87b18be0077292eefffe660a233fa33123.zip
pythonPackages.bitstring: move to python-modules/
Easier maintenance when expressions are in separate files.
Diffstat (limited to 'pkgs/development/python-modules/bitstring/default.nix')
-rw-r--r--pkgs/development/python-modules/bitstring/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/bitstring/default.nix b/pkgs/development/python-modules/bitstring/default.nix
new file mode 100644
index 00000000000..f6c56646dcb
--- /dev/null
+++ b/pkgs/development/python-modules/bitstring/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, buildPythonPackage, fetchPypi }:
+
+buildPythonPackage rec {
+  pname = "bitstring";
+  version = "3.1.5";
+  name = "${pname}-${version}";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1algq30j6rz12b1902bpw7iijx5lhrfqhl80d4ac6xzkrrpshqy1";
+    extension = "zip";
+  };
+
+  meta = with stdenv.lib; {
+    description = "Module for binary data manipulation";
+    homepage = "https://github.com/scott-griffiths/bitstring";
+    license = licenses.mit;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ bjornfor ];
+  };
+}