Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
877 B · 41 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, python, buildPythonPackage, fetchFromGitHub, mock, pytestCheckHook}:
buildPythonPackage rec { pname = "cron_descriptor"; version = "1.2.35";
src = fetchFromGitHub { owner = "Salamek"; repo = "cron-descriptor"; rev = "refs/tags/${version}"; hash = "sha256-m+h91cddmEPHCeUWWNpTvb89mFwm8ty8tTnw3YDjCFo="; };
# remove tests_require, as we don't do linting anyways postPatch = '' sed -i "/'pep8\|flake8\|pep8-naming',/d" setup.py '';
checkInputs = [ mock ];
checkPhase = '' ${python.interpreter} setup.py test '';
pythonImportsCheck = [ "cron_descriptor" ];
meta = with lib; { description = "Library that converts cron expressions into human readable strings"; homepage = "https://github.com/Salamek/cron-descriptor"; license = licenses.mit; maintainers = with maintainers; [ phaer ]; };}