Merge pull request #41009 from matthewbauer/normalize-names

Add versions to packages missing it
This commit is contained in:
Matthew Justin Bauer
2018-05-25 16:32:48 -05:00
committed by GitHub
54 changed files with 210 additions and 176 deletions

View File

@@ -45,8 +45,8 @@ let
};
};
in stdenv.mkDerivation {
name = "gn";
in stdenv.mkDerivation rec {
name = "gn-${version}";
version = "20180423";
sourceRoot = ".";

View File

@@ -2,7 +2,7 @@
, beamPackages, z3, python27 }:
stdenv.mkDerivation rec {
name = "cuter";
name = "cuter-${version}";
version = "0.1";
src = fetchFromGitHub {

View File

@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, pcre } :
stdenv.mkDerivation rec {
name = "imatix_gsl";
name = "imatix_gsl-${version}";
version = "4.1";
src = fetchFromGitHub {

View File

@@ -1,27 +1,29 @@
{ stdenv, fetchurl, makeWrapper, jre }:
stdenv.mkDerivation rec {
name = "yuicompressor";
name = "yuicompressor-${version}";
version = "2.4.8";
src = fetchurl {
url = "http://github.com/yui/yuicompressor/releases/download/v${version}/${name}-${version}.jar";
url = "http://github.com/yui/yuicompressor/releases/download/v${version}/${name}.jar";
sha256 = "1qjxlak9hbl9zd3dl5ks0w4zx5z64wjsbk7ic73r1r45fasisdrh";
};
buildInputs = [makeWrapper jre];
meta = {
description = "A JavaScript and CSS minifier";
maintainers = [ stdenv.lib.maintainers.jwiegley ];
platforms = stdenv.lib.platforms.all;
homepage = http://yui.github.io/yuicompressor/;
license = stdenv.lib.licenses.bsd3;
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jre ];
buildCommand = ''
mkdir -p $out/{bin,lib}
ln -s $src $out/lib/yuicompressor.jar
makeWrapper ${jre}/bin/java $out/bin/${name} --add-flags \
makeWrapper ${jre}/bin/java $out/bin/yuicompressor --add-flags \
"-cp $out/lib/yuicompressor.jar com.yahoo.platform.yui.compressor.YUICompressor"
'';
meta = with stdenv.lib; {
description = "A JavaScript and CSS minifier";
homepage = http://yui.github.io/yuicompressor/;
license = licenses.bsd3;
maintainers = with maintainers; [ jwiegley ];
platforms = platforms.all;
};
}