Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
907 B · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, gsl, swig, numpy, pytestCheckHook,}:
buildPythonPackage rec { pname = "pygsl"; version = "2.4.0"; format = "setuptools";
src = fetchFromGitHub { owner = "pygsl"; repo = "pygsl"; rev = "refs/tags/v${version}"; hash = "sha256-7agGgfDUgY6mRry7d38vGGNLJC4dFUniy2M/cnejDDs="; };
nativeBuildInputs = [ gsl.dev swig ]; buildInputs = [ gsl ]; dependencies = [ numpy ];
preBuild = '' python setup.py build_ext --inplace '';
preCheck = '' cd tests ''; nativeCheckInputs = [ pytestCheckHook ];
meta = { description = "Python interface for GNU Scientific Library"; homepage = "https://github.com/pygsl/pygsl"; changelog = "https://github.com/pygsl/pygsl/blob/v${version}/ChangeLog"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ amesgen ]; };}