mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
32 lines
672 B
Nix
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 ];
|
|
};
|
|
}
|