Skip to content

Commit

Permalink
python3Packages.voluptuous: 0.13.0 -> 0.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored and mweinelt committed May 4, 2022
1 parent 8006dee commit f58df70
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions pkgs/development/python-modules/voluptuous/default.nix
@@ -1,27 +1,31 @@
{ lib
, buildPythonPackage
, fetchPypi
, nose
, fetchFromGitHub
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "voluptuous";
version = "0.13.0";
version = "0.13.1";

src = fetchPypi {
inherit pname version;
sha256 = "sha256-yuakUmtDS2QoFrNKAOEYbVpfXgyUirlNKpGOAeWHQGY=";
src = fetchFromGitHub {
owner = "alecthomas";
repo = pname;
rev = version;
hash = "sha256-cz3Bd+/yPh+VOHxzi/W+gbDh/H5Nl/n4jvxDOirmAVk=";
};

checkInputs = [
nose
pytestCheckHook
];

checkPhase = ''
nosetests
'';
pythonImportsCheck = [
"voluptuous"
];

pythonImportsCheck = [ "voluptuous" ];
pytestFlagsArray = [
"voluptuous/tests/"
];

meta = with lib; {
description = "Python data validation library";
Expand Down

0 comments on commit f58df70

Please sign in to comment.