pythonPackages.venusian: 1.0 -> 1.1.0

Added tests and refactored moved to python-modules
This commit is contained in:
Chris Ostrouchov 2018-10-15 12:06:15 -04:00 committed by Frederik Rietdijk
parent 9bbf54ea2d
commit 0f4383eae5
2 changed files with 29 additions and 17 deletions

View file

@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "venusian";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "9902e492c71a89a241a18b2f9950bea7e41d025cc8f3af1ea8d8201346f8577d";
};
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
description = "A library for deferring decorator actions";
homepage = http://pylonsproject.org/;
license = licenses.bsd0;
maintainers = with maintainers; [ garbas domenkozar ];
};
}

View file

@ -4255,23 +4255,7 @@ in {
vcrpy = callPackage ../development/python-modules/vcrpy { };
venusian = buildPythonPackage rec {
name = "venusian-1.0";
src = pkgs.fetchurl {
url = "mirror://pypi/v/venusian/${name}.tar.gz";
sha256 = "1720cff2ca9c369c840c1d685a7c7a21da1afa687bfe62edd93cae4bf429ca5a";
};
# TODO: https://github.com/Pylons/venusian/issues/23
doCheck = false;
meta = {
maintainers = with maintainers; [ garbas domenkozar ];
platforms = platforms.all;
};
};
venusian = callPackage ../development/python-modules/venusian { };
chameleon = buildPythonPackage rec {
name = "Chameleon-2.25";