From efc0fc165fe14db12abef2cc1c1c63ec466f704a Mon Sep 17 00:00:00 2001 From: Tom Hunger Date: Sat, 6 Apr 2019 15:55:12 +0100 Subject: [PATCH] python3Packages.xxhash: init at 1.3.0 --- .../python-modules/xxhash/default.nix | 21 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/python-modules/xxhash/default.nix diff --git a/pkgs/development/python-modules/xxhash/default.nix b/pkgs/development/python-modules/xxhash/default.nix new file mode 100644 index 00000000000..da9ec8dc2d9 --- /dev/null +++ b/pkgs/development/python-modules/xxhash/default.nix @@ -0,0 +1,21 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + version = "1.3.0"; + pname = "xxhash"; + + src = fetchPypi { + inherit pname version; + sha256 = "1rhrqrlq4n3vgqd1fv1dcc5ga5dzy9qbd40p8rsqqhh5klxg48gy"; + }; + + meta = with stdenv.lib; { + homepage = https://github.com/ifduyue/python-xxhash; + description = "Python Binding for xxHash https://pypi.org/project/xxhash/"; + license = licenses.bsd2; + maintainers = [ maintainers.teh ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index db13fbf1eee..26205eaec42 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4422,6 +4422,8 @@ in { xlwt = callPackage ../development/python-modules/xlwt { }; + xxhash = callPackage ../development/python-modules/xxhash { }; + youtube-dl = callPackage ../tools/misc/youtube-dl {}; youtube-dl-light = callPackage ../tools/misc/youtube-dl {