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

Commits on Apr 23, 2019

  1. python.pkgs.kaptan: 0.5.11 -> 0.5.12

    Robert Schütz committed Apr 23, 2019
    Copy the full SHA
    bdf070f View commit details
Showing with 5 additions and 7 deletions.
  1. +5 −7 pkgs/development/python-modules/kaptan/default.nix
12 changes: 5 additions & 7 deletions pkgs/development/python-modules/kaptan/default.nix
Original file line number Diff line number Diff line change
@@ -2,27 +2,25 @@
, buildPythonPackage
, fetchPypi
, pyyaml
, pytest
}:

buildPythonPackage rec {
pname = "kaptan";
version = "0.5.11";
version = "0.5.12";

src = fetchPypi {
inherit pname version;
sha256 = "8403d6e48200c3f49cb6d6b3dcb5898aa5ab9d820831655bf9a2403e00cd4207";
sha256 = "1abd1f56731422fce5af1acc28801677a51e56f5d3c3e8636db761ed143c3dd2";
};

# https://github.com/emre/kaptan/pull/151
postPatch = ''
substituteInPlace requirements/base.txt \
--replace "PyYAML>=3.13,<4" "PyYAML>=3.13"
sed -i "s/==.*//g" requirements/test.txt
'';

propagatedBuildInputs = [ pyyaml ];

# No tests in archive
doCheck = false;
checkInputs = [ pytest ];

meta = with stdenv.lib; {
description = "Configuration manager for python applications";