9 buildPythonApplication rec {
14 inherit pname version;
15 sha256 = "01kpx35572mp4xl2fjyvfk39jfgfjcyzymbifk76891kaqkjb7r9";
18 # The pyscaffold is not a runtime dependency but just a python project bootstrapping tool. Thus,
19 # instead of implement this package in nix we remove a dependency on it and fix up the version
20 # of the package, that has been affected by the pyscaffold package dependency removal.
22 substituteInPlace setup.py \
23 --replace "['pyscaffold>=3.0a0,<3.1a0'] + " "" \
24 --replace "use_pyscaffold=True" ""
25 substituteInPlace src/bkyml/skeleton.py --replace \
26 "from bkyml import __version__" \
27 "__version__ = \"${version}\""
30 # Don't run tests because they are broken when run within
31 # buildPythonApplication for reasons I don't quite understand.
34 pythonImportsCheck = [ "bkyml" ];
36 propagatedBuildInputs = [
42 homepage = "https://github.com/joscha/bkyml";
43 description = "CLI tool to generate a pipeline.yaml file for Buildkite on the fly";
44 license = licenses.mit;
45 maintainers = with maintainers; [ olebedev ];