Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenv,
4 fetchzip,
5}:
6stdenv.mkDerivation rec {
7 pname = "ries";
8 version = "2018.04.11-1";
9
10 # upstream does not provide a stable link
11 src = fetchzip {
12 url = "https://salsa.debian.org/debian/ries/-/archive/debian/${version}/ries-debian-${version}.zip";
13 sha256 = "1h2wvd4k7f0l0i1vm9niz453xdbcs3nxccmri50qyrzzzc1b0842";
14 };
15
16 makeFlags = [ "PREFIX=$(out)" ];
17
18 meta = with lib; {
19 homepage = "https://mrob.com/pub/ries/";
20 description = "Tool to produce a list of equations that approximately solve to a given number";
21 mainProgram = "ries";
22 platforms = platforms.all;
23 maintainers = with maintainers; [ symphorien ];
24 license = licenses.gpl3Plus;
25 };
26}