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