pythonPackages.validictory: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 13:18:17 -04:00 committed by Frederik Rietdijk
parent 5c440b5aae
commit 92663b2aa4
2 changed files with 24 additions and 16 deletions

View File

@ -0,0 +1,23 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "validictory";
version = "1.0.0a2";
src = fetchPypi {
inherit pname version;
sha256 = "c02388a70f5b854e71e2e09bd6d762a2d8c2a017557562e866d8ffafb0934b07";
};
doCheck = false;
meta = with stdenv.lib; {
description = "Validate dicts against a schema";
homepage = https://github.com/sunlightlabs/validictory;
license = licenses.mit;
};
}

View File

@ -2201,22 +2201,7 @@ in {
zope_deprecation = callPackage ../development/python-modules/zope_deprecation { };
validictory = buildPythonPackage rec {
name = "validictory-1.0.0a2";
src = pkgs.fetchurl {
url = "mirror://pypi/v/validictory/validictory-1.0.0a2.tar.gz";
sha256 = "c02388a70f5b854e71e2e09bd6d762a2d8c2a017557562e866d8ffafb0934b07";
};
doCheck = false;
meta = {
description = "Validate dicts against a schema";
homepage = https://github.com/sunlightlabs/validictory;
license = licenses.mit;
};
};
validictory = callPackage ../development/python-modules/validictory { };
vcrpy = callPackage ../development/python-modules/vcrpy { };