nixpkgs/pkgs/development/python-modules/python-stdnum/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
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`.
2018-06-23 18:14:26 +02:00

19 lines
559 B
Nix

{ lib, fetchPypi, buildPythonPackage, isPy3k }:
buildPythonPackage rec {
version = "1.9";
pname = "python-stdnum";
# Failing tests and dependency issue on Py3k
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "d587a520182f9d8aef7659cca429f4382881589c8883a0a55322b2f94970bdb3";
};
meta = {
homepage = http://arthurdejong.org/python-stdnum/;
description = "Python module to handle standardized numbers and codes";
maintainers = with lib.maintainers; [ johbo ];
license = lib.licenses.lgpl2Plus;
};
}