From 339f78957e2050c6feafea95afd32fae4bc47737 Mon Sep 17 00:00:00 2001 From: Boris Babic Date: Tue, 31 Jul 2018 01:08:58 +0200 Subject: [PATCH] pythonPackages.aspy-yaml: init at 1.1.1 --- .../python-modules/aspy.yaml/default.nix | 22 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/python-modules/aspy.yaml/default.nix diff --git a/pkgs/development/python-modules/aspy.yaml/default.nix b/pkgs/development/python-modules/aspy.yaml/default.nix new file mode 100644 index 000000000000..4f07c09e1598 --- /dev/null +++ b/pkgs/development/python-modules/aspy.yaml/default.nix @@ -0,0 +1,22 @@ +{ lib, buildPythonPackage, fetchPypi, pyyaml }: + +buildPythonPackage rec { + pname = "aspy.yaml"; + version = "1.1.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "1ajb97kn044ximkzq2090h4yblrhw77540pwiw345cp7mwzy4xqa"; + }; + + propagatedBuildInputs = [ pyyaml ]; + + # Tests not included in PyPI tarball + doCheck = false; + + meta = with lib; { + description = "A few extensions to pyyaml"; + homepage = https://github.com/asottile/aspy.yaml; + license = licenses.mit; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b5715dbfdc89..1aca42963af1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -186,6 +186,8 @@ in { asn1crypto = callPackage ../development/python-modules/asn1crypto { }; + aspy-yaml = callPackage ../development/python-modules/aspy.yaml { }; + astral = callPackage ../development/python-modules/astral { }; astropy = callPackage ../development/python-modules/astropy { };