1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/twill/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

24 lines
617 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy3k, nose }:
buildPythonPackage rec {
pname = "twill";
version = "1.8.0";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "d63e8b09aa4f6645571c70cd3ba47a911abbae4d7baa4b38fc7eb72f6cfda188";
};
checkInputs = [ nose ];
doCheck = false; # pypi package comes without tests, other homepage does not provide all verisons
meta = with lib; {
homepage = http://twill.idyll.org/;
description = "A simple scripting language for Web browsing";
license = licenses.mit;
maintainers = with maintainers; [ mic92 ];
};
}