Merge pull request #41009 from matthewbauer/normalize-names
Add versions to packages missing it
This commit is contained in:
@@ -45,8 +45,8 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "gn";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "gn-${version}";
|
||||
version = "20180423";
|
||||
sourceRoot = ".";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
, beamPackages, z3, python27 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cuter";
|
||||
name = "cuter-${version}";
|
||||
version = "0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchFromGitHub, pcre } :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "imatix_gsl";
|
||||
name = "imatix_gsl-${version}";
|
||||
version = "4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user