about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/yarl/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/yarl/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/yarl/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/yarl/default.nix b/nixpkgs/pkgs/development/python-modules/yarl/default.nix
new file mode 100644
index 000000000000..d07690503f30
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/yarl/default.nix
@@ -0,0 +1,28 @@
+{ stdenv
+, fetchPypi
+, buildPythonPackage
+, multidict
+, pytestrunner
+, pytest
+, idna
+}:
+
+buildPythonPackage rec {
+  pname = "yarl";
+  version = "1.3.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "024ecdc12bc02b321bc66b41327f930d1c2c543fa9a561b39861da9388ba7aa9";
+  };
+
+  checkInputs = [ pytest pytestrunner ];
+  propagatedBuildInputs = [ multidict idna ];
+
+  meta = with stdenv.lib; {
+    description = "Yet another URL library";
+    homepage = https://github.com/aio-libs/yarl/;
+    license = licenses.asl20;
+    maintainers = with maintainers; [ dotlambda ];
+  };
+}