tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
teyjus: switch to fetchFromGitHub
Felix Buehler
4 years ago
05ebdaae
317db0f1
+8
-10
1 changed file
expand all
collapse all
unified
split
pkgs
development
compilers
teyjus
default.nix
+8
-10
pkgs/development/compilers/teyjus/default.nix
···
1
1
-
{ lib, stdenv, fetchurl, omake, ocaml, flex, bison }:
1
1
+
{ lib, stdenv, fetchFromGitHub, omake, ocaml, flex, bison }:
2
2
3
3
-
let
4
4
-
version = "2.1";
5
5
-
in
6
6
-
7
7
-
stdenv.mkDerivation {
3
3
+
stdenv.mkDerivation rec {
8
4
pname = "teyjus";
9
9
-
inherit version;
5
5
+
version = "2.1";
10
6
11
11
-
src = fetchurl {
12
12
-
url = "https://github.com/teyjus/teyjus/archive/v${version}.tar.gz";
13
13
-
sha256 = "0393wpg8v1vvarqy2xh4fdmrwlrl6jaj960kql7cq79mb9p3m269";
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "teyjus";
9
9
+
repo = "teyjus";
10
10
+
rev = "v${version}";
11
11
+
sha256 = "sha256-nz7jZ+GdF6mZQPzBrVD9K/RtoeuVRuhfs7vej4zDkhg=";
14
12
};
15
13
16
14
patches = [ ./fix-lex-to-flex.patch ];