Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
748 B · 40 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, editdistance-s, fetchFromGitHub, pytestCheckHook, pythonOlder, ukkonen}:
buildPythonPackage rec { pname = "identify"; version = "2.5.24"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "pre-commit"; repo = pname; rev = "v${version}"; hash = "sha256-L73M+lWonuT7sSk+piBkZZJtxxeBvZ1XUXUypvS65G0="; };
nativeCheckInputs = [ editdistance-s pytestCheckHook ukkonen ];
pythonImportsCheck = [ "identify" ];
meta = with lib; { description = "File identification library for Python"; homepage = "https://github.com/chriskuehl/identify"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}