We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 69b07f5 + 028a22b commit e853a7fCopy full SHA for e853a7f
pkgs/development/python-modules/viewstate/default.nix
@@ -1,16 +1,15 @@
1
{
2
+ lib,
3
buildPythonPackage,
4
fetchFromGitHub,
- isPy3k,
5
- lib,
6
- pytest,
+ poetry-core,
+ pytestCheckHook,
7
}:
8
9
buildPythonPackage rec {
10
pname = "viewstate";
11
version = "0.6.0";
12
- format = "setuptools";
13
- disabled = !isPy3k;
+ pyproject = true;
14
15
src = fetchFromGitHub {
16
owner = "yuvadm";
@@ -19,11 +18,11 @@ buildPythonPackage rec {
19
18
sha256 = "sha256-cXT5niE3rNdqmNqnITWy9c9/MF0gZ6LU2i1uzfOzkUI=";
20
};
21
22
- nativeCheckInputs = [ pytest ];
+ build-system = [ poetry-core ];
23
24
- checkPhase = ''
25
- pytest
26
- '';
+ nativeCheckInputs = [
+ pytestCheckHook
+ ];
27
28
meta = {
29
description = ".NET viewstate decoder";
0 commit comments