Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildOctavePackage, 3 lib, 4 fetchFromGitHub, 5 io, 6}: 7 8buildOctavePackage rec { 9 pname = "statistics"; 10 version = "1.7.0"; 11 12 src = fetchFromGitHub { 13 owner = "gnu-octave"; 14 repo = "statistics"; 15 tag = "release-${version}"; 16 hash = "sha256-k1YJtFrm71Th42IceX7roWaFCxU3284Abl8JAKLG9So="; 17 }; 18 19 requiredOctavePackages = [ 20 io 21 ]; 22 23 meta = { 24 homepage = "https://packages.octave.org/statistics"; 25 license = with lib.licenses; [ 26 gpl3Plus 27 publicDomain 28 ]; 29 maintainers = with lib.maintainers; [ KarlJoad ]; 30 description = "Statistics package for GNU Octave"; 31 }; 32}