From efc0fc165fe14db12abef2cc1c1c63ec466f704a Mon Sep 17 00:00:00 2001 From: Tom Hunger Date: Sat, 6 Apr 2019 15:55:12 +0100 Subject: [PATCH 1/2] 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 000000000000..da9ec8dc2d97 --- /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 db13fbf1eee7..26205eaec429 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 { From e6ebd0553c6c082aab41232c3770a9428c3c0789 Mon Sep 17 00:00:00 2001 From: Tom Hunger Date: Sun, 31 Mar 2019 15:22:43 +0100 Subject: [PATCH 2/2] pyre: 0.0.20 -> 0.0.22 --- pkgs/development/tools/pyre/default.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/pyre/default.nix b/pkgs/development/tools/pyre/default.nix index 7ae95679482f..b5dfe3c8bfd9 100644 --- a/pkgs/development/tools/pyre/default.nix +++ b/pkgs/development/tools/pyre/default.nix @@ -1,14 +1,14 @@ { stdenv, fetchFromGitHub, ocamlPackages, writeScript -, dune, python3, rsync, buck, watchman }: +, dune, python3, rsync, buck, watchman, sqlite }: let # Manually set version - the setup script requires # hg and git + keeping the .git directory around. - pyre-version = "0.0.20"; # also change typeshed revision below with $pyre-src/.typeshed-version + pyre-version = "0.0.22"; # also change typeshed revision below with $pyre-src/.typeshed-version pyre-src = fetchFromGitHub { owner = "facebook"; repo = "pyre-check"; rev = "v${pyre-version}"; - sha256 = "1alkhdhvmigdhxvvarh0lr5s3b1s6q4arykip2dqb62vs8064s17"; + sha256 = "057vy6zmgwsi0ag9n4m6sszhahmfk2s1ywm36nyfs7w4d0wnk92s"; }; versionFile = writeScript "version.ml" '' cat > "./version.ml" <