nixpkgs/pkgs/development/python-modules/ttp/templates.nix
2021-05-13 15:38:56 -07:00

32 lines
672 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "ttp-templates";
version = "0.1.1";
format = "setuptools";
src = fetchPypi {
pname = "ttp_templates";
inherit version;
sha256 = "0vg7k733i8jqnfz8mpq8kzr2l7b7drk29zkzik91029f6w7li007";
};
# drop circular dependency on ttp
postPatch = ''
substituteInPlace setup.py --replace '"ttp>=0.6.0"' ""
'';
# circular dependency on ttp
doCheck = false;
meta = with lib; {
description = "Template Text Parser Templates";
homepage = "https://github.com/dmulyalin/ttp_templates";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}