Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 50 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ buildOctavePackage, lib, fetchFromGitHub, gfortran, lapack, blas, autoreconfHook,}:
buildOctavePackage rec { pname = "control"; version = "3.6.1";
src = fetchFromGitHub { owner = "gnu-octave"; repo = "pkg-control"; tag = "control-${version}"; sha256 = "sha256-7beEsdrne50NY4lGCotxGXwwWnMzUR2CKCc20OCjd0g="; };
# Running autoreconfHook inside the src directory fixes a compile issue about # the config.h header for control missing. # This is supposed to be handled by control's top-level Makefile, but does not # appear to be working. This manually forces it instead. preAutoreconf = '' pushd src '';
postAutoreconf = '' popd '';
nativeBuildInputs = [ gfortran autoreconfHook ];
buildInputs = [ lapack blas ];
meta = { homepage = "https://gnu-octave.github.io/packages/control/"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ KarlJoad ]; description = "Computer-Aided Control System Design (CACSD) Tools for GNU Octave, based on the proven SLICOT Library"; };}