1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 13:44:50 +00:00
nixpkgs/pkgs/development/python-modules/viewstate/default.nix
2020-01-03 17:56:40 -05:00

37 lines
611 B
Nix

{ 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
];
};
}