python310Packages.sumtypes: 0.1a5 -> 0.1a6

This commit is contained in:
Fabian Affolter 2022-05-24 21:40:15 +02:00
parent 271f15a238
commit bf30415f27

View File

@ -1,18 +1,32 @@
{ lib, buildPythonPackage, fetchFromGitHub, attrs, pytestCheckHook }: { lib
, attrs
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "sumtypes"; pname = "sumtypes";
version = "0.1a5"; version = "0.1a6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "radix"; owner = "radix";
repo = "sumtypes"; repo = pname;
rev = version; rev = version;
sha256 = "0wcw1624xxx2h6lliv13b59blg60j8sgf5v2ni3cwx3j4wld4csr"; sha256 = "sha256-qwQyFKVnGEqHUqFmUSnHVvedsp2peM6rJZcS90paLOo=";
}; };
propagatedBuildInputs = [ attrs ]; propagatedBuildInputs = [
checkInputs = [ pytestCheckHook ]; attrs
];
checkInputs = [
pytestCheckHook
];
meta = with lib; { meta = with lib; {
description = "Algebraic data types for Python"; description = "Algebraic data types for Python";