Merge remote-tracking branch 'upstream/master' into staging
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohttp-cors";
|
||||
version = "0.6.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1r0mb4dw0dc1lpi54dk5vxqs06nyhvagp76lyrvk7rd94z5mjkd4";
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohttp";
|
||||
version = "2.3.9";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@@ -33,4 +32,4 @@ buildPythonPackage rec {
|
||||
license = with lib.licenses; [ asl20 ];
|
||||
homepage = https://github.com/KeepSafe/aiohttp/;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
26
pkgs/development/python-modules/astral/default.nix
Normal file
26
pkgs/development/python-modules/astral/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytz, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astral";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "1zm1ypc6w279gh7lbgsfbzfxk2x4gihlq3rfh59hj70hmhjwiwp7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pytz ];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkPhase = ''
|
||||
py.test -k "not test_GoogleLocator"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Calculations for the position of the sun and the moon";
|
||||
homepage = https://github.com/sffjunkie/astral/;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ flokli ];
|
||||
};
|
||||
}
|
||||
20
pkgs/development/python-modules/ptyprocess/default.nix
Normal file
20
pkgs/development/python-modules/ptyprocess/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ptyprocess";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e64193f0047ad603b71f202332ab5527c5e52aa7c8b609704fc28c0dc20c4365";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Run a subprocess in a pseudo terminal";
|
||||
homepage = https://github.com/pexpect/ptyprocess;
|
||||
license = lib.licenses.isc;
|
||||
};
|
||||
}
|
||||
20
pkgs/development/python-modules/pytest-aiohttp/default.nix
Normal file
20
pkgs/development/python-modules/pytest-aiohttp/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytest, aiohttp }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-aiohttp";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0kx4mbs9bflycd8x9af0idcjhdgnzri3nw1qb0vpfyb3751qaaf9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pytest aiohttp ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/aio-libs/pytest-aiohttp/;
|
||||
description = "Pytest plugin for aiohttp support";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
31
pkgs/development/python-modules/xcffib/default.nix
Normal file
31
pkgs/development/python-modules/xcffib/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, xorg
|
||||
, cffi
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.5.1";
|
||||
pname = "xcffib";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "09gbnmr5vn58mm8xi3fmd7fz6743cks6c46dphnxzwax6zsxmy60";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
# Hardcode cairo library path
|
||||
sed -e 's,ffi\.dlopen(,&"${xorg.libxcb.out}/lib/" + ,' -i xcffib/__init__.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ cffi six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A drop in replacement for xpyb, an XCB python binding";
|
||||
homepage = "https://github.com/tych0/xcffib";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ kamilchm ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user