From f6b0aa8ad5263998ad252f451f80240c89b9f8da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sun, 29 Oct 2017 10:59:03 +0100 Subject: [PATCH] pythonPackages.bitstring: 3.1.2 -> 3.1.5 * fetchurl -> fetchPypi * Tests work now * Update homepage --- pkgs/top-level/python-packages.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e81063a6169..c7192b0a415 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1942,19 +1942,19 @@ in { bitstring = buildPythonPackage rec { - name = "bitstring-3.1.2"; + pname = "bitstring"; + version = "3.1.5"; + name = "${pname}-${version}"; - src = pkgs.fetchurl { - url = "https://python-bitstring.googlecode.com/files/${name}.zip"; - sha256 = "1i1p3rkj4ad108f23xyib34r4rcy571gy65paml6fk77knh0k66p"; + src = fetchPypi { + inherit pname version; + sha256 = "1algq30j6rz12b1902bpw7iijx5lhrfqhl80d4ac6xzkrrpshqy1"; + extension = "zip"; }; - # error: invalid command 'test' - doCheck = false; - meta = { description = "Module for binary data manipulation"; - homepage = https://code.google.com/p/python-bitstring/; + homepage = "https://github.com/scott-griffiths/bitstring"; license = licenses.mit; platforms = platforms.linux; maintainers = with maintainers; [ bjornfor ];