ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
25 lines
510 B
Nix
25 lines
510 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, isPy3k
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bz2file";
|
|
version = "0.98";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "126s53fkpx04f33a829yqqk8fj4png3qwg4m66cvlmhmwc8zihb4";
|
|
};
|
|
|
|
doCheck = false;
|
|
# The test module (test_bz2file) is not available
|
|
|
|
meta = {
|
|
description = "Bz2file is a Python library for reading and writing bzip2-compressed files";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ jyp ];
|
|
};
|
|
}
|