mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 09:03:48 +00:00
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`.
19 lines
446 B
Nix
19 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 ];
|
|
};
|
|
}
|