From 62b1bd180f91ec90e719b9116e73f65e259c27e7 Mon Sep 17 00:00:00 2001 From: zraexy Date: Thu, 13 Apr 2017 12:08:05 -0800 Subject: [PATCH] pythonPackages.iso-639: init at 0.4.5 --- .../python-modules/iso-639/default.nix | 19 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/python-modules/iso-639/default.nix diff --git a/pkgs/development/python-modules/iso-639/default.nix b/pkgs/development/python-modules/iso-639/default.nix new file mode 100644 index 000000000000..f44bb7caf3d5 --- /dev/null +++ b/pkgs/development/python-modules/iso-639/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchurl, buildPythonPackage }: + +buildPythonPackage rec { + name = "${pname}-${version}"; + pname = "iso-639"; + version = "0.4.5"; + + src = fetchurl { + url = "mirror://pypi/i/${pname}/${name}.tar.gz"; + sha256 = "dc9cd4b880b898d774c47fe9775167404af8a85dd889d58f9008035109acce49"; + }; + + meta = with stdenv.lib; { + homepage = https://github.com/noumar/iso639; + description = "ISO 639 library for Python"; + license = licenses.agpl3; + maintainers = with maintainers; [ zraexy ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 59bf5fa1007e..4c3a74974fcc 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13273,6 +13273,8 @@ in { license = with licenses; [ lgpl21 ]; }; }; + + iso-639 = callPackage ../development/python-modules/iso-639 {}; iso8601 = buildPythonPackage rec { name = "iso8601-${version}";