diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2020-06-29 13:54:08 -0700 |
---|---|---|
committer | Bernardo Meurer <bernardo@meurer.org> | 2021-01-01 18:29:48 -0800 |
commit | b2d12f3db253fa75d1466c9e889aaf8d1257fb65 (patch) | |
tree | 2b756ef84def255fef7a987504b9383c991c10ac /pkgs/development/python-modules/confuse | |
parent | 014440d7105ce2be945b79dc957dd08720a9c029 (diff) | |
download | nixpkgs-b2d12f3db253fa75d1466c9e889aaf8d1257fb65.tar nixpkgs-b2d12f3db253fa75d1466c9e889aaf8d1257fb65.tar.gz nixpkgs-b2d12f3db253fa75d1466c9e889aaf8d1257fb65.tar.bz2 nixpkgs-b2d12f3db253fa75d1466c9e889aaf8d1257fb65.tar.lz nixpkgs-b2d12f3db253fa75d1466c9e889aaf8d1257fb65.tar.xz nixpkgs-b2d12f3db253fa75d1466c9e889aaf8d1257fb65.tar.zst nixpkgs-b2d12f3db253fa75d1466c9e889aaf8d1257fb65.zip |
python3Packages.confuse: init at 1.4.0
Diffstat (limited to 'pkgs/development/python-modules/confuse')
-rw-r--r-- | pkgs/development/python-modules/confuse/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/confuse/default.nix b/pkgs/development/python-modules/confuse/default.nix new file mode 100644 index 00000000000..8f1c1754056 --- /dev/null +++ b/pkgs/development/python-modules/confuse/default.nix @@ -0,0 +1,27 @@ +{ buildPythonPackage +, enum34 +, fetchPypi +, isPy27 +, lib +, pathlib +, pyyaml +}: + +buildPythonPackage rec { + pname = "confuse"; + version = "1.4.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-kvwEUcbiwnMqw2PQ9Z1+pgir3b7QYt2o6Y6ajJhs5GQ="; + }; + + propagatedBuildInputs = [ pyyaml ] ++ lib.optionals isPy27 [ enum34 pathlib ] ; + + meta = with lib; { + description = "Confuse is a configuration library for Python that uses YAML."; + homepage = "https://github.com/beetbox/confuse"; + license = licenses.mit; + maintainers = with maintainers; [ lovesegfault ]; + }; +} |