base.nix (492B)
1 { 2 lib, 3 srcOnly, 4 fetchzip, 5 unzip, 6 pname, 7 version, 8 filename, 9 hash, 10 description, 11 }: 12 13 srcOnly { 14 inherit pname version; 15 16 src = fetchzip { 17 url = "http://dadako.narod.ru/GoldenDict/${filename}"; 18 inherit hash; 19 stripRoot = false; 20 }; 21 22 meta = { 23 inherit description; 24 homepage = "http://dadako.narod.ru/paperpoe.htm"; 25 license = lib.licenses.free; 26 maintainers = [ lib.maintainers.sikmir ]; 27 platforms = lib.platforms.all; 28 skip.ci = true; 29 }; 30 }