Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
831 B · 37 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "decli"; version = "0.6.1"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "woile"; repo = "decli"; tag = "v${version}"; hash = "sha256-FZYKNKkQExx/YBn5y/W0+0aMlenuwEctYTL7LAXMZGE="; };
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "decli" ];
meta = with lib; { description = "Minimal, easy to use, declarative command line interface tool"; homepage = "https://github.com/Woile/decli"; changelog = "https://github.com/woile/decli/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ lovesegfault ]; };}