pythonPackages.bitstring: 3.1.2 -> 3.1.5

* fetchurl -> fetchPypi
* Tests work now
* Update homepage
This commit is contained in:
Bjørn Forsman 2017-10-29 10:59:03 +01:00
parent bee8066e45
commit f6b0aa8ad5

View File

@ -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 ];