summary refs log tree commit diff
path: root/pkgs/applications/science/math/ries/default.nix
blob: b244ee75b304a676a0b05a19d6b84c76f2656466 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchzip }:
stdenv.mkDerivation {
  name = "ries-2018-04-11";

  # upstream does not provide a stable link
  src = fetchzip {
    url = "https://salsa.debian.org/debian/ries/-/archive/debian/2018.04.11-1/ries-debian-2018.04.11-1.zip";
    sha256 = "1h2wvd4k7f0l0i1vm9niz453xdbcs3nxccmri50qyrzzzc1b0842";
  };

  makeFlags = [ "PREFIX=$(out)" ];

  meta = with stdenv.lib; {
    homepage = https://mrob.com/pub/ries/;
    description = "Tool to produce a list of equations that approximately solve to a given number";
    platforms = platforms.all;
    maintainers = with maintainers; [ symphorien ];
    license = licenses.gpl3Plus;
  };
}