htgen: 1.2.8 -> 1.3.0
This commit is contained in:
parent
26b24a4958
commit
9c2529b291
@ -1,24 +1,22 @@
|
|||||||
{ coreutils, dash, fetchgit, gnused, stdenv, ucspi-tcp }:
|
{ fetchgit, lib, pkgs, stdenv }:
|
||||||
with import <stockholm/lib>;
|
stdenv.mkDerivation rec {
|
||||||
let
|
pname = "htgen";
|
||||||
version = "1.2.8";
|
version = "1.3.0";
|
||||||
in stdenv.mkDerivation {
|
|
||||||
name = "htgen-${version}";
|
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "http://cgit.krebsco.de/htgen";
|
url = "http://cgit.krebsco.de/htgen";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "046c05jswar2agagqixad3idqxca494aaf199h6bdn02cyzygnpq";
|
sha256 = "0p3517wkfpvip4z0axh0b4v1jm1nqpppldnhq4806c0p33vrjxnf";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
{
|
{
|
||||||
echo '#! ${dash}/bin/dash'
|
echo '#! ${pkgs.dash}/bin/dash'
|
||||||
echo 'export PATH=${makeBinPath [
|
echo 'export PATH=${lib.makeBinPath [
|
||||||
coreutils
|
pkgs.coreutils
|
||||||
gnused
|
pkgs.jq
|
||||||
ucspi-tcp
|
pkgs.ucspi-tcp
|
||||||
]}''${PATH+":$PATH"}'
|
]}''${PATH+":$PATH"}'
|
||||||
sed 's:^Server=htgen$:&/${version}:' htgen
|
sed 's:^Server=htgen$:&/${version}:' htgen
|
||||||
} > $out/bin/htgen
|
} > $out/bin/htgen
|
||||||
|
Loading…
Reference in New Issue
Block a user