nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 21.05 23 lines 575 B view raw
1{ lib, buildPythonPackage, fetchPypi }: 2 3buildPythonPackage rec { 4 pname = "textdistance"; 5 version = "4.2.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "114j3ignw4y9yq1cp08p4bfw518vyr3p0h8ba2mikwy74qxxzy26"; 10 }; 11 12 # There aren't tests 13 doCheck = false; 14 15 pythonImportsCheck = [ "textdistance" ]; 16 17 meta = with lib; { 18 description = "Python library for comparing distance between two or more sequences"; 19 homepage = "https://github.com/life4/textdistance"; 20 license = licenses.mit; 21 maintainers = with maintainers; [ eduardosm ]; 22 }; 23}