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

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;
};
}