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: 51428e8d3827
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f961ac6695ad
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Sep 9, 2020

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    f961ac6 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 ];
};
}