aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/pyaftership/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/pyaftership/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/python-modules/pyaftership/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/pyaftership/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/pyaftership/default.nix
new file mode 100644
index 000000000000..4deee467f84e
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/pyaftership/default.nix
@@ -0,0 +1,26 @@
+{ aiohttp, async-timeout, buildPythonPackage, fetchPypi, isPy3k, lib }:
+
+buildPythonPackage rec {
+ pname = "pyaftership";
+ version = "0.1.2";
+
+ disabled = !isPy3k;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "057dwzacc0lmsq00ipfbnxkq4rc2by8glmza6s8i6dzi1cc68v98";
+ };
+
+ propagatedBuildInputs = [ aiohttp async-timeout ];
+
+ # No tests
+ doCheck = false;
+ pythonImportsCheck = [ "pyaftership.tracker" ];
+
+ meta = with lib; {
+ description = "Python wrapper package for the AfterShip API";
+ homepage = "https://github.com/ludeeus/pyaftership";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jamiemagee ];
+ };
+}