forked from mirrors/nixpkgs
pythonPackages.viewstate: init at 0.4.3
This commit is contained in:
parent
61ed97d9f9
commit
78d619c65e
36
pkgs/development/python-modules/viewstate/default.nix
Normal file
36
pkgs/development/python-modules/viewstate/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, lib
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "viewstate";
|
||||
version = "0.4.3";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yuvadm";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "15s0n1lhkz0zwi33waqkkjipal3f7s45rxsj1bw89xpr4dj87qx5";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = ".NET viewstate decoder";
|
||||
homepage = "https://github.com/yuvadm/viewstate";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
|
@ -6464,6 +6464,8 @@ in {
|
|||
|
||||
versioneer = callPackage ../development/python-modules/versioneer { };
|
||||
|
||||
viewstate = callPackage ../development/python-modules/viewstate { };
|
||||
|
||||
vine = callPackage ../development/python-modules/vine { };
|
||||
|
||||
visitor = callPackage ../development/python-modules/visitor { };
|
||||
|
|
Loading…
Reference in a new issue