2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchzip }:
|
2021-12-06 16:07:01 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ries";
|
|
|
|
version = "2018.04.11-1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# upstream does not provide a stable link
|
|
|
|
src = fetchzip {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "https://salsa.debian.org/debian/ries/-/archive/debian/${version}/ries-debian-${version}.zip";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1h2wvd4k7f0l0i1vm9niz453xdbcs3nxccmri50qyrzzzc1b0842";
|
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://mrob.com/pub/ries/";
|
|
|
|
description = "Tool to produce a list of equations that approximately solve to a given number";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "ries";
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ symphorien ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|