From bf30415f27ee6b0e4262782e675a5c7d428388ac Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 24 May 2022 21:40:15 +0200 Subject: [PATCH] python310Packages.sumtypes: 0.1a5 -> 0.1a6 --- .../python-modules/sumtypes/default.nix | 26 ++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/sumtypes/default.nix b/pkgs/development/python-modules/sumtypes/default.nix index 4a3a22f2780c..c99fa0595645 100644 --- a/pkgs/development/python-modules/sumtypes/default.nix +++ b/pkgs/development/python-modules/sumtypes/default.nix @@ -1,18 +1,32 @@ -{ lib, buildPythonPackage, fetchFromGitHub, attrs, pytestCheckHook }: +{ lib +, attrs +, buildPythonPackage +, fetchFromGitHub +, pytestCheckHook +, pythonOlder +}: buildPythonPackage rec { pname = "sumtypes"; - version = "0.1a5"; + version = "0.1a6"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "radix"; - repo = "sumtypes"; + repo = pname; rev = version; - sha256 = "0wcw1624xxx2h6lliv13b59blg60j8sgf5v2ni3cwx3j4wld4csr"; + sha256 = "sha256-qwQyFKVnGEqHUqFmUSnHVvedsp2peM6rJZcS90paLOo="; }; - propagatedBuildInputs = [ attrs ]; - checkInputs = [ pytestCheckHook ]; + propagatedBuildInputs = [ + attrs + ]; + + checkInputs = [ + pytestCheckHook + ]; meta = with lib; { description = "Algebraic data types for Python";