default.nix (643B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage { 8 pname = "distance"; 9 version = "2013-11-22"; 10 11 src = fetchFromGitHub { 12 owner = "doukremt"; 13 repo = "distance"; 14 rev = "ad7f9dc7e9b0e88a08d0cefd1442f4ab1dd1779b"; 15 hash = "sha256-nu/vT1KHlhHJVE92L16laBH2fzlUy9al78j4ZkABlu0="; 16 }; 17 18 #setupPyBuildFlags = [ "--with-c" ]; 19 20 doCheck = false; 21 22 pythonImportsCheck = [ "distance" ]; 23 24 meta = { 25 description = "Utilities for comparing sequences"; 26 homepage = "https://github.com/doukremt/distance"; 27 license = lib.licenses.gpl2; 28 maintainers = [ lib.maintainers.sikmir ]; 29 }; 30 }