python3.pkgs.pint-pandas: 0.2 -> unstable-2022-11-24
This commit is contained in:
parent
2e8194d47b
commit
b372673229
1 changed files with 12 additions and 17 deletions
|
@ -1,34 +1,29 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
, setuptools-scm
|
, setuptools
|
||||||
, pint
|
, pint
|
||||||
, pandas
|
, pandas
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage {
|
||||||
pname = "pint-pandas";
|
pname = "pint-pandas";
|
||||||
version = "0.2";
|
# Latest release contains bugs and failing tests.
|
||||||
|
version = "unstable-2022-11-24";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
pname = "Pint-Pandas";
|
owner = "hgrecco";
|
||||||
inherit version;
|
repo = "pint-pandas";
|
||||||
sha256 = "sha256-b2DS6ArBAuD5St25IG4PbMpe5C8Lf4kw2MeYAC5B+oc=";
|
rev = "c58a7fcf9123eb65f5e78845077b205e20279b9d";
|
||||||
|
hash = "sha256-gMZNJSJxtSZvgU4o71ws5ZA6tgD2M5c5oOrn62DRyMI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fixes a failing test, see: https://github.com/hgrecco/pint-pandas/issues/107
|
|
||||||
(fetchpatch{
|
|
||||||
url = "https://github.com/hgrecco/pint-pandas/commit/4c31e25609af968665ee60d019b9b5366f328680.patch";
|
|
||||||
sha256 = "vIT0LI4S73D4MBfGI8vtCZAM+Zb4PZ4E3xfpGKNyA4I=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools-scm
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue