Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cb8686599be8
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3f4fc5fa295f
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Sep 9, 2020

  1. python3Packages.todoist: fix build

    See https://hydra.nixos.org/build/126777642
    ZHF #97479
    
    (cherry picked from commit f961ac6)
    Ma27 committed Sep 9, 2020
    Copy the full SHA
    3f4fc5f View commit details
Showing with 16 additions and 2 deletions.
  1. +16 −2 pkgs/development/python-modules/todoist/default.nix
18 changes: 16 additions & 2 deletions pkgs/development/python-modules/todoist/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv, fetchPypi, buildPythonPackage
, requests }:
, requests, fetchpatch, pythonOlder, typing
}:

buildPythonPackage rec {
pname = "todoist-python";
@@ -10,11 +11,24 @@ buildPythonPackage rec {
sha256 = "750b2d2300e8590cd56414ab7bbbc8dfcaf8c27102b342398955812176499498";
};

propagatedBuildInputs = [ requests ];
patches = [
# From https://github.com/Doist/todoist-python/pull/80
(fetchpatch {
url = "https://github.com/Doist/todoist-python/commit/605443c67a8e2f105071e0da001c9f6f2a89ef19.patch";
sha256 = "0ah0s5by783kqlaimsbxz11idz0bhc2428aw9vdjpngmzb7ih1pa";
})
(fetchpatch {
url = "https://github.com/Doist/todoist-python/commit/f2f8e1e5b3ab1674ad9f0dff885702a25d1d18e9.patch";
sha256 = "1kp63yk9kj87zvvgfl60m6lxdm5sx3dny4g0s67ap1jbz350wifn";
})
];

propagatedBuildInputs = [ requests ] ++ stdenv.lib.optional (pythonOlder "3.5") typing;

meta = {
description = "The official Todoist Python API library";
homepage = "https://todoist-python.readthedocs.io/en/latest/";
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ ma27 ];
};
}