mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 04:45:39 +00:00
python312Packages.viewstate: unbreak, switch to pyproject (#355805)
This commit is contained in:
commit
e853a7f61c
@ -1,16 +1,15 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
isPy3k,
|
||||
lib,
|
||||
pytest,
|
||||
poetry-core,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "viewstate";
|
||||
version = "0.6.0";
|
||||
format = "setuptools";
|
||||
disabled = !isPy3k;
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yuvadm";
|
||||
@ -19,11 +18,11 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-cXT5niE3rNdqmNqnITWy9c9/MF0gZ6LU2i1uzfOzkUI=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytest ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = ".NET viewstate decoder";
|
||||
|
Loading…
Reference in New Issue
Block a user