Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
867 B · 49 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchFromGitHub, nose, numpy, pythonOlder, scipy}:
buildPythonPackage rec { pname = "ecos"; version = "2.0.11"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "embotech"; repo = "ecos-python"; rev = "refs/tags/v${version}"; hash = "sha256-jflmXR7fuGRSyI6NoQrHFvkKqF/D4iq47StNSCdLbqQ="; fetchSubmodules = true; };
propagatedBuildInputs = [ numpy scipy ];
nativeCheckInputs = [ nose ];
checkPhase = '' cd ./src nosetests test_interface.py test_interface_bb.py '';
pythonImportsCheck = [ "ecos" ];
meta = with lib; { description = "Python interface for ECOS"; homepage = "https://github.com/embotech/ecos-python"; license = licenses.gpl3Only; maintainers = with maintainers; [ drewrisinger ]; };}