treewide: name -> pname

This commit is contained in:
volth
2019-08-17 10:54:38 +00:00
parent fe9a3e3e63
commit c814d72b51
520 changed files with 1164 additions and 622 deletions
+4 -2
View File
@@ -12,7 +12,8 @@ let
runtime = {
cpp = stdenv.mkDerivation {
name = "antlr-runtime-cpp-${version}";
pname = "antlr-runtime-cpp";
inherit version;
src = source;
outputs = [ "out" "dev" "doc" ];
@@ -35,7 +36,8 @@ let
};
antlr = stdenv.mkDerivation {
name = "antlr-${version}";
pname = "antlr";
inherit version;
src = fetchurl {
url ="https://www.antlr.org/download/antlr-${version}-complete.jar";
sha256 = "1236gwnzchama92apb2swmklnypj01m7bdwwfvwvl8ym85scw7gl";
@@ -5,10 +5,11 @@
let
generic = { version, sha256, license }:
stdenv.mkDerivation rec {
name = "ragel-${version}";
pname = "ragel";
inherit version;
src = fetchurl {
url = "https://www.colm.net/files/ragel/${name}.tar.gz";
url = "https://www.colm.net/files/ragel/${pname}-${version}.tar.gz";
inherit sha256;
};