mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
20faad8463
In addition, we can enable its tests by fetching the source from GitHub instead of from PyPI.
29 lines
642 B
Nix
29 lines
642 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, isPy27
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyxl3";
|
|
version = "1.4";
|
|
disabled = isPy27;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gvanrossum";
|
|
repo = pname;
|
|
rev = "e6588c12caee49c43faf6aa260f04d7e971f6aa8";
|
|
hash = "sha256-8nKQgwLXPVgPxNRF4CryKJb7+llDsZHis5VctxqpIRo=";
|
|
};
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
meta = with lib; {
|
|
description = "Python 3 port of pyxl for writing structured and reusable inline HTML";
|
|
homepage = "https://github.com/gvanrossum/pyxl3";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|