Something went wrong. Try again.
lol
Something went wrong. Try again.
779 B · 40 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, cffi, setuptools, ukkonen,}:
buildPythonPackage (finalAttrs: { pname = "identify"; version = "2.6.18"; pyproject = true;
src = fetchFromGitHub { owner = "pre-commit"; repo = "identify"; tag = "v${finalAttrs.version}"; hash = "sha256-Va1aWNeavA0iR/gKSrheJI/PIIy+KfmjEK1I97n9V/c="; };
build-system = [ setuptools ];
dependencies = [ cffi pytestCheckHook ukkonen ];
pythonImportsCheck = [ "identify" ];
meta = { description = "File identification library for Python"; homepage = "https://github.com/pre-commit/identify"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "identify-cli"; };})