Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
849 B · 36 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook,}:
buildPythonPackage rec { pname = "case-converter"; version = "1.2.0"; pyproject = true;
src = fetchFromGitHub { owner = "chrisdoherty4"; repo = "python-case-converter"; tag = "v${version}"; hash = "sha256-PS/9Ndl3oD9zimEf819dNoSAeNJPndVjT+dkfW7FIJs="; };
build-system = [ setuptools ];
pythonImportsCheck = [ "caseconverter" ];
doCheck = true;
nativeCheckInputs = [ pytestCheckHook ];
meta = { description = "Case conversion library for Python"; homepage = "https://github.com/chrisdoherty4/python-case-converter"; changelog = "https://github.com/chrisdoherty4/python-case-converter/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sigmanificient ]; };}