diff options
author | Elis Hirwing <elis@hirwing.se> | 2018-05-31 21:10:41 +0200 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-06-05 09:11:12 +0200 |
commit | dda215332f1310fbca6b6b59968d0b46bf29bda8 (patch) | |
tree | 09b18b2a77f50d4e2fdd5d58a602d140b2758570 /pkgs/development/python-modules/voluptuous-serialize | |
parent | 0fbc3451ef82f73ecc1a6ae10c68a72bbf13abf9 (diff) |
python36Packages.voluptuous-serialize: init at 1.0.0
Diffstat (limited to 'pkgs/development/python-modules/voluptuous-serialize')
-rw-r--r-- | pkgs/development/python-modules/voluptuous-serialize/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/voluptuous-serialize/default.nix b/pkgs/development/python-modules/voluptuous-serialize/default.nix new file mode 100644 index 0000000000000..e2796ee2a74e5 --- /dev/null +++ b/pkgs/development/python-modules/voluptuous-serialize/default.nix @@ -0,0 +1,35 @@ +{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, voluptuous, pytest }: + +buildPythonPackage rec { + pname = "voluptuous-serialize"; + version = "2018-03-10"; + + disabled = !isPy3k; + + # no tests in PyPI tarball + src = fetchFromGitHub { + owner = "balloob"; + repo = pname; + rev = "567f0d96f928cf6c30c9f1b8bdee729e651aac82"; + sha256 = "0b16f1bxlqyvi1hy8wmzp2k0rzqcycmdhs8zwsyx0swnvkgwnv50"; + }; + + propagatedBuildInputs = [ + voluptuous + ]; + + checkInputs = [ + pytest + ]; + + checkPhase = '' + py.test + ''; + + meta = with stdenv.lib; { + homepage = https://github.com/balloob/voluptuous-serialize; + license = licenses.asl20; + description = "Convert Voluptuous schemas to dictionaries so they can be serialized"; + maintainers = with maintainers; [ etu ]; + }; +} |