Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
738 B · 39 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook,}:
buildPythonPackage rec { pname = "duration-parser"; version = "1.0.1"; pyproject = true;
src = fetchFromGitHub { owner = "adriansahlman"; repo = "duration-parser"; tag = "v${version}"; hash = "sha256-Vn3H2JEMrJ6b/7eNG+h9tG5QzslGvaV3sunM7UO9Bok="; };
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "duration_parser" ];
meta = { description = "Minimal duration parser written in python"; homepage = "https://github.com/adriansahlman/duration-parser"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hexa ]; };}