diff options
author | makefu <github@syntax-fehler.de> | 2019-07-04 11:15:01 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-07-04 11:15:01 +0200 |
commit | 6e0a3bf5822927b54eea389c3a76560f06b2bff9 (patch) | |
tree | 4821219fecef8d33d81221864d7a2f56673e7ac5 /2configs/bureautomation/deps/pyhaversion.nix | |
parent | e5d2e25b205ccd8b40b93afe0f68e510765aef6d (diff) |
ma bureautomation: move deps
Diffstat (limited to '2configs/bureautomation/deps/pyhaversion.nix')
-rw-r--r-- | 2configs/bureautomation/deps/pyhaversion.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/2configs/bureautomation/deps/pyhaversion.nix b/2configs/bureautomation/deps/pyhaversion.nix new file mode 100644 index 000000000..a75c6a976 --- /dev/null +++ b/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. ]; + }; +} |