Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
793 B · 43 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, buildPythonPackage, fetchFromGitHub, pymeeus, pytz, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "convertdate"; version = "2.4.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "fitnr"; repo = pname; rev = "v${version}"; hash = "sha256-iOHK3UJulXJJR50nhiVgfk3bt+CAtG3BRySJ8DkBuJE="; };
propagatedBuildInputs = [ pymeeus pytz ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "convertdate" ];
meta = with lib; { description = "Utils for converting between date formats and calculating holidays"; homepage = "https://github.com/fitnr/convertdate"; license = licenses.mit; maintainers = with maintainers; [ jluttine ]; };}