mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #231914 from figsoda/topydo
topydo: apply patch to fix test
This commit is contained in:
commit
77cd6091d2
@ -1,28 +1,38 @@
|
||||
{ lib, python3Packages, fetchFromGitHub, glibcLocales }:
|
||||
{ lib, python3, fetchFromGitHub, fetchpatch, glibcLocales }:
|
||||
|
||||
with python3Packages;
|
||||
|
||||
buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "topydo";
|
||||
version = "0.14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bram85";
|
||||
owner = "topydo";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1lpfdai0pf90ffrzgmmkadbd86rb7250i3mglpkc82aj6prjm6yb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
patches = [
|
||||
# fixes a failing test
|
||||
(fetchpatch {
|
||||
name = "update-a-test-reference-ics-file.patch";
|
||||
url = "https://github.com/topydo/topydo/commit/9373bb4702b512b10f0357df3576c129901e3ac6.patch";
|
||||
hash = "sha256-JpyQfryWSoJDdyzbrESWY+RmRbDw1myvTlsFK7+39iw=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
arrow
|
||||
icalendar
|
||||
glibcLocales
|
||||
icalendar
|
||||
prompt-toolkit
|
||||
urwid
|
||||
watchdog
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook mock freezegun pylint ];
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
freezegun
|
||||
unittestCheckHook
|
||||
];
|
||||
|
||||
# Skip test that has been reported multiple times upstream without result:
|
||||
# bram85/topydo#271, bram85/topydo#274.
|
||||
@ -34,7 +44,9 @@ buildPythonApplication rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "A cli todo application compatible with the todo.txt format";
|
||||
homepage = "https://github.com/bram85/topydo";
|
||||
license = licenses.gpl3;
|
||||
homepage = "https://github.com/topydo/topydo";
|
||||
changelog = "https://github.com/topydo/topydo/blob/${src.rev}/CHANGES.md";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user