2017-07-28 07:35:30 +01:00
|
|
|
{ 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";
|
2017-11-10 21:13:27 +00:00
|
|
|
homepage = https://bitbucket.org/hpk42/apipkg;
|
2017-07-28 07:35:30 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|