Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
588 B · 37 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, edlib, cython, python}:
buildPythonPackage { inherit (edlib) pname src meta; version = "1.3.9"; format = "setuptools";
disabled = pythonOlder "3.6";
sourceRoot = "${edlib.src.name}/bindings/python";
preBuild = '' ln -s ${edlib.src}/edlib . '';
EDLIB_OMIT_README_RST = 1; EDLIB_USE_CYTHON = 1;
nativeBuildInputs = [ cython ]; buildInputs = [ edlib ];
checkPhase = '' runHook preCheck ${python.interpreter} test.py runHook postCheck '';
pythonImportsCheck = [ "edlib" ];
}