Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 48 lines
Nix
at flake-libs
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, click, fetchFromGitHub, parameterized, pytestCheckHook, setuptools-scm,}:
buildPythonPackage rec { pname = "moreorless"; version = "0.5.0"; pyproject = true;
src = fetchFromGitHub { owner = "thatch"; repo = "moreorless"; tag = "v${version}"; hash = "sha256-VCvvPxDWriaeKeRaj/YbPLPfNL7fipGwCydr6K0HMjc="; };
build-system = [ setuptools-scm ];
dependencies = [ click ];
nativeCheckInputs = [ parameterized pytestCheckHook ];
pythonImportsCheck = [ "moreorless" ];
pytestFlagsArray = [ "moreorless/tests/click.py" "moreorless/tests/combined.py" "moreorless/tests/general.py" "moreorless/tests/patch.py" ];
meta = { changelog = "https://github.com/thatch/moreorless/releases/tag/${src.tag}"; description = "Wrapper to make difflib.unified_diff more fun to use"; homepage = "https://github.com/thatch/moreorless/"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };}