Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 39 lines 906 B view raw
1{ 2 lib, 3 python3Packages, 4 fetchFromGitHub, 5 writableTmpDirAsHomeHook, 6}: 7 8python3Packages.buildPythonApplication rec { 9 pname = "proselint"; 10 version = "0.14.0"; 11 format = "pyproject"; 12 13 src = fetchFromGitHub { 14 owner = "amperser"; 15 repo = "proselint"; 16 tag = version; 17 hash = "sha256-bI5gkckXUa640GOb5U5NW4i2op4fn0LKoPHFSIwbheM="; 18 }; 19 20 build-system = [ python3Packages.poetry-core ]; 21 22 dependencies = [ python3Packages.click ]; 23 24 nativeCheckInputs = [ 25 python3Packages.pytestCheckHook 26 writableTmpDirAsHomeHook 27 ]; 28 29 pythonImportsCheck = [ "proselint" ]; 30 31 meta = { 32 description = "Linter for prose"; 33 mainProgram = "proselint"; 34 homepage = "https://github.com/amperser/proselint"; 35 changelog = "https://github.com/amperser/proselint/releases/tag/${version}/CHANGELOG.md"; 36 license = lib.licenses.bsd3; 37 maintainers = [ lib.maintainers.pbsds ]; 38 }; 39}