lol

Merge branch 'ats2'

+45 -6
+6 -6
pkgs/development/compilers/ats2/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "ats2-${version}"; 5 - version = "0.2.4"; 5 + version = "0.2.6"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-${version}.tgz"; 9 - sha256 = "0dx3r2vxmarj3aqm0xlcmls1h08pll9y9k4820df41awyrwmfvcy"; 9 + sha256 = "0hfaw8mrxrmb9kdbz5sp4nfjsmncmq6zqwm1n2x2p6arn0za6y9i"; 10 10 }; 11 11 12 12 buildInputs = [ gmp ]; 13 13 14 14 setupHook = ./setup-hook.sh; 15 15 16 - meta = { 16 + meta = with stdenv.lib; { 17 17 description = "Functional programming language with dependent types"; 18 18 homepage = "http://www.ats-lang.org"; 19 - license = stdenv.lib.licenses.gpl3Plus; 20 - platforms = stdenv.lib.platforms.linux; 21 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 19 + license = licenses.gpl3Plus; 20 + platforms = platforms.linux; 21 + maintainers = with maintainers; [ thoughtpolice ttuegel ]; 22 22 }; 23 23 }
+37
pkgs/development/tools/postiats-utilities/default.nix
··· 1 + { stdenv, fetchurl, python3, python3Packages }: 2 + 3 + stdenv.mkDerivation { 4 + name = "postiats-utilities-2.0.1"; 5 + src = fetchurl { 6 + url = "https://github.com/Hibou57/PostiATS-Utilities/archive/v2.0.1.tar.gz"; 7 + sha256 = "12jlzqigmaa9m37x0nq5v3gq8v61m73i5kzdnsm06chf0przpaix"; 8 + }; 9 + 10 + meta = with stdenv.lib; { 11 + homepage = "https://github.com/Hibou57/PostiATS-Utilities"; 12 + license = licenses.bsd2; 13 + platforms = platforms.linux; 14 + maintainers = [ maintainers.ttuegel ]; 15 + }; 16 + 17 + buildInputs = [ python3 python3Packages.wrapPython ]; 18 + 19 + phases = "unpackPhase patchPhase installPhase"; 20 + 21 + postPatch = '' 22 + for f in pats-* postiats/*.py; do 23 + sed -i "$f" -e "1 s,python3,python," 24 + done 25 + ''; 26 + 27 + installPhase = '' 28 + libdir="$out/lib/${python3.libPrefix}/site-packages" 29 + mkdir -p "$libdir" 30 + cp -r postiats "$libdir" 31 + 32 + mkdir -p "$out/bin" 33 + install pats-* "$out/bin" 34 + 35 + wrapPythonPrograms 36 + ''; 37 + }
+2
pkgs/top-level/all-packages.nix
··· 6293 6293 }); 6294 6294 pkgconfigUpstream = lowPrio (pkgconfig.override { vanilla = true; }); 6295 6295 6296 + postiats-utilities = callPackage ../development/tools/postiats-utilities {}; 6297 + 6296 6298 prelink = callPackage ../development/tools/misc/prelink { }; 6297 6299 6298 6300 premake3 = callPackage ../development/tools/misc/premake/3.nix { };