mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +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`.
22 lines
532 B
Nix
22 lines
532 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, unittest2 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "funcsigs";
|
|
version = "1.0.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0l4g5818ffyfmfs1a924811azhjj8ax9xd1cffr1mzd3ycn0zfx7";
|
|
};
|
|
|
|
buildInputs = [ unittest2 ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+";
|
|
homepage = https://github.com/aliles/funcsigs;
|
|
maintainers = with maintainers; [ garbas ];
|
|
license = licenses.asl20;
|
|
};
|
|
}
|