diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2016-12-11 20:05:40 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-12-11 20:07:24 +0100 |
commit | 7a538938a040a0fb05c673b058359e756ba680fd (patch) | |
tree | 6dc36d8b448244ab399fdff5420ed65c1b28b045 /pkgs/development/python-modules/yarl | |
parent | 073cb330cacfc1a01a7224765fd1bdeab463f320 (diff) | |
download | nixpkgs-7a538938a040a0fb05c673b058359e756ba680fd.tar nixpkgs-7a538938a040a0fb05c673b058359e756ba680fd.tar.gz nixpkgs-7a538938a040a0fb05c673b058359e756ba680fd.tar.bz2 nixpkgs-7a538938a040a0fb05c673b058359e756ba680fd.tar.lz nixpkgs-7a538938a040a0fb05c673b058359e756ba680fd.tar.xz nixpkgs-7a538938a040a0fb05c673b058359e756ba680fd.tar.zst nixpkgs-7a538938a040a0fb05c673b058359e756ba680fd.zip |
pythonPackages.yarl: init at 0.8.1
Diffstat (limited to 'pkgs/development/python-modules/yarl')
-rw-r--r-- | pkgs/development/python-modules/yarl/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/yarl/default.nix b/pkgs/development/python-modules/yarl/default.nix new file mode 100644 index 00000000000..246b761fa53 --- /dev/null +++ b/pkgs/development/python-modules/yarl/default.nix @@ -0,0 +1,28 @@ +{ lib +, fetchurl +, buildPythonPackage +, multidict +, pytestrunner +, pytest +}: + +let + pname = "yarl"; + version = "0.8.1"; +in buildPythonPackage rec { + name = "${pname}-${version}"; + src = fetchurl { + url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; + sha256 = "9f0397ae540124bf16a8a5b89bc3ea1c07f8ae70c3e44231a40a9edd254d5712"; + }; + + buildInputs = [ pytest pytestrunner ]; + propagatedBuildInputs = [ multidict ]; + + + meta = { + description = "Yet another URL library"; + homepage = https://github.com/aio-libs/yarl/; + license = lib.licenses.asl20; + }; +} \ No newline at end of file |