Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
881 B · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pyyaml, jinja2,}:
buildPythonPackage rec { pname = "hiyapyco"; version = "0.7.0"; pyproject = true;
src = fetchFromGitHub { owner = "zerwes"; repo = "hiyapyco"; tag = "release-${version}"; hash = "sha256-uF5DblAg4q8L1tZKopcjJ14NIQVQF5flNHdZ/jnw71M="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ pyyaml jinja2 ];
checkPhase = '' runHook preCheck
set -e find test -name 'test_*.py' -exec python {} \;
runHook postCheck '';
pythonImportsCheck = [ "hiyapyco" ];
meta = with lib; { description = "Python library allowing hierarchical overlay of config files in YAML syntax"; homepage = "https://github.com/zerwes/hiyapyco"; license = licenses.gpl3Plus; maintainers = with maintainers; [ veehaitch ]; };}