forked from mirrors/nixpkgs
Merge pull request #232703 from fabaff/plum-py-bump
python311Packages.plum-py: 0.8.5 -> 0.8.6
This commit is contained in:
commit
4b329b6ef4
|
@ -1,21 +1,23 @@
|
|||
{ lib
|
||||
, baseline
|
||||
, buildPythonPackage
|
||||
, fetchFromGitLab
|
||||
, isPy3k
|
||||
, pytestCheckHook
|
||||
, baseline
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "plum-py";
|
||||
version = "0.8.5";
|
||||
disabled = !isPy3k;
|
||||
version = "0.8.6";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "dangass";
|
||||
repo = "plum";
|
||||
rev = version;
|
||||
hash = "sha256-jCZUNT1HpSr0khHsjnxEzN2LCzcDV6W27PjVkwFJHUg=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-gZSRqijKdjqOZe1+4aeycpCPsh6HC5sRbyVjgK+g4wM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -23,20 +25,23 @@ buildPythonPackage rec {
|
|||
sed -i "/python_requires =/d" setup.cfg
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "plum" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
baseline
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"plum"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"tests"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Classes and utilities for packing/unpacking bytes";
|
||||
homepage = "https://plum-py.readthedocs.io/en/latest/index.html";
|
||||
homepage = "https://plum-py.readthedocs.io/";
|
||||
changelog = "https://gitlab.com/dangass/plum/-/blob/${version}/docs/release_notes.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dnr ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue