mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 13:53:24 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
30 lines
652 B
Nix
30 lines
652 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, isPy27
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyxl3";
|
|
version = "1.4";
|
|
format = "setuptools";
|
|
disabled = isPy27;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gvanrossum";
|
|
repo = pname;
|
|
rev = "e6588c12caee49c43faf6aa260f04d7e971f6aa8";
|
|
hash = "sha256-8nKQgwLXPVgPxNRF4CryKJb7+llDsZHis5VctxqpIRo=";
|
|
};
|
|
|
|
nativeCheckInputs = [ 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 = [ ];
|
|
};
|
|
}
|