Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
990 B · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, click, fetchFromGitHub, parameterized, pytestCheckHook, pythonOlder, setuptools-scm,}:
buildPythonPackage rec { pname = "moreorless"; version = "0.4.0"; format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "thatch"; repo = "moreorless"; rev = "refs/tags/v${version}"; hash = "sha256-N11iqsxMGgzwW2QYeOoHQaR/aDEuoUnnd/2Mc5culN0="; };
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ click ];
nativeCheckInputs = [ parameterized pytestCheckHook ];
pythonImportsCheck = [ "moreorless" ];
pytestFlagsArray = [ "moreorless/tests/click.py" "moreorless/tests/general.py" "moreorless/tests/patch.py" ];
meta = with lib; { description = "Wrapper to make difflib.unified_diff more fun to use"; homepage = "https://github.com/thatch/moreorless/"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}