nixpkgs/pkgs/development/python-modules/apipkg/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

26 lines
528 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, pytest }:
buildPythonPackage rec {
pname = "apipkg";
version = "1.4";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "2e38399dbe842891fe85392601aab8f40a8f4cc5a9053c326de35a1cc0297ac6";
};
buildInputs = [ pytest ];
checkPhase = ''
py.test
'';
meta = with stdenv.lib; {
description = "Namespace control and lazy-import mechanism";
homepage = http://bitbucket.org/hpk42/apipkg;
license = licenses.mit;
};
}