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

Commits on Apr 9, 2020

  1. python2Packages.variants: fix tests

    Jonathan Ringer committed Apr 9, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    grahamc Graham Christensen
    Copy the full SHA
    85210bf View commit details
Showing with 6 additions and 3 deletions.
  1. +6 −3 pkgs/development/python-modules/variants/default.nix
9 changes: 6 additions & 3 deletions pkgs/development/python-modules/variants/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{ buildPythonPackage
, isPy27
, fetchPypi
, pytestrunner
, setuptools_scm
, singledispatch
, pytest
, lib
}:

buildPythonPackage rec {
pname = "variants";
version = "0.2.0";
@@ -21,12 +24,12 @@ buildPythonPackage rec {

checkInputs = [
pytest
];
] ++ lib.optionals isPy27 [ singledispatch ];

meta = with lib; {
description = "Library providing syntactic sugar for creating variant forms of a canonical function";
homepage = "https://github.com/python-variants/variants";
license = licenses.asl20;
maintainers = with maintainers; [ rakesh4g ];
};
}
}