nixpkgs/pkgs/development/python-modules/iso-639/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

18 lines
446 B
Nix

{ lib, fetchPypi, buildPythonPackage }:
buildPythonPackage rec {
pname = "iso-639";
version = "0.4.5";
src = fetchPypi {
inherit pname version;
sha256 = "dc9cd4b880b898d774c47fe9775167404af8a85dd889d58f9008035109acce49";
};
meta = with lib; {
homepage = https://github.com/noumar/iso639;
description = "ISO 639 library for Python";
license = licenses.agpl3;
maintainers = with maintainers; [ zraexy ];
};
}