mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
khal: pin python-dateutil==2.6.1
This commit is contained in:
parent
38094de6b6
commit
12cf9f7eda
@ -1,8 +1,22 @@
|
||||
{ stdenv, pkgs, python3Packages }:
|
||||
{ stdenv, pkgs, python3 }:
|
||||
|
||||
with python3Packages;
|
||||
let
|
||||
python = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
|
||||
buildPythonApplication rec {
|
||||
# https://github.com/pimutils/khal/issues/780
|
||||
python-dateutil = super.python-dateutil.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2.6.1";
|
||||
src = oldAttrs.src.override {
|
||||
inherit version;
|
||||
sha256 = "891c38b2a02f5bb1be3e4793866c8df49c7d19baabf9c1bad62547e0b4866aca";
|
||||
};
|
||||
});
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
in with python.pkgs; buildPythonApplication rec {
|
||||
pname = "khal";
|
||||
version = "0.9.9";
|
||||
|
||||
@ -29,10 +43,11 @@ buildPythonApplication rec {
|
||||
pkginfo
|
||||
freezegun
|
||||
];
|
||||
buildInputs = [ setuptools_scm pytest pkgs.glibcLocales ];
|
||||
nativeBuildInputs = [ setuptools_scm pkgs.glibcLocales ];
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
# py.test
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user