mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
Merge pull request #133432 from risicle/ris-geomet-0.3.0
This commit is contained in:
commit
a39be830d5
|
@ -35,6 +35,10 @@ buildPythonPackage rec {
|
|||
sha256 = "1dn7iiavsrhh6i9hcyw0mk8j95r5ym0gbrvdca998hx2rnz5ark6";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace 'geomet>=0.1,<0.3' 'geomet'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
buildInputs = [ libev ];
|
||||
propagatedBuildInputs = [ six geomet ]
|
||||
|
@ -80,6 +84,8 @@ buildPythonPackage rec {
|
|||
"_PoolTests"
|
||||
# attempts to make connection to localhost
|
||||
"test_connection_initialization"
|
||||
# time-sensitive
|
||||
"test_nts_token_performance"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -1,31 +1,22 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, click
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "geomet";
|
||||
version = "0.2.1";
|
||||
version = "0.3.0";
|
||||
|
||||
# pypi tarball doesn't include tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "geomet";
|
||||
repo = "geomet";
|
||||
rev = version;
|
||||
sha256 = "0fdi26glsmrsyqk86rnsfcqw79svn2b0ikdv89pq98ihrpwhn85y";
|
||||
sha256 = "1lb0df78gkivsb7hy3ix0xccvcznvskip11hr5sgq5y76qnfc8p0";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "python-3.8-support.patch";
|
||||
url = "https://github.com/geomet/geomet/commit/dc4cb4a856d3ad814b57b4b7487d86d9e0f0fad4.patch";
|
||||
sha256 = "1f1cdfqyp3z01jdjvax77219l3gc75glywqrisqpd2k0m0g7fwh3";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ click six ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue