From 9d50bfa569e072001a97d22e6c4375b264e5cff7 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 4 Jul 2019 11:15:01 +0200 Subject: ma bureautomation: move deps --- .../2configs/bureautomation/deps/pyhaversion.nix | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 makefu/2configs/bureautomation/deps/pyhaversion.nix (limited to 'makefu/2configs/bureautomation/deps/pyhaversion.nix') diff --git a/makefu/2configs/bureautomation/deps/pyhaversion.nix b/makefu/2configs/bureautomation/deps/pyhaversion.nix new file mode 100644 index 00000000..a75c6a97 --- /dev/null +++ b/makefu/2configs/bureautomation/deps/pyhaversion.nix @@ -0,0 +1,33 @@ +{ lib +, buildPythonPackage +, fetchpatch +, fetchPypi +, aiohttp +, async-timeout +}: + +buildPythonPackage rec { + pname = "pyhaversion"; + version = "2.2.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "72b65aa25d7b2dbb839a4d0218df2005c2335e93526035904d365bb668030b9f"; + }; + patches = [ + (fetchpatch { url = "https://github.com/makefu/pyhaversion/commit/f3bdc38970272cd345c2cfbde3037ea492ca27c4.patch"; + sha256 = + "1rhq4z7mdgnwhwpf5fmarnbc1ba3qysk1wqjdr0hvbzi8vmvbfcc";}) + ]; + doCheck = false; + propagatedBuildInputs = [ + aiohttp + async-timeout + ]; + + meta = with lib; { + description = ""; + homepage = https://github.com/ludeeus/pyhaversion; + # maintainers = [ maintainers. ]; + }; +} -- cgit v1.2.3