12 buildPythonPackage rec {
18 inherit pname version;
19 hash = "sha256-Oc/yuGhW0Dyoo9nDhZgDTs8adowyX9OnKLuerbjGuRk=";
33 substituteInPlace setup.py \
34 --replace-fail "import imp" "" \
35 --replace-fail "os.path.exists('.git')" "True" \
36 --replace-fail "GIT_REVISION = git_version()" "GIT_REVISION = 'v${version}'"
39 doCheck = !isPy3k; # https://github.com/marinkaz/nimfa/issues/42
42 description = "Nonnegative matrix factorization library";
43 homepage = "http://nimfa.biolab.si";
44 license = lib.licenses.bsd3;
45 maintainers = with lib.maintainers; [ ashgillman ];