stow: 2.3.0 -> 2.3.1

This commit is contained in:
Alex Branham 2019-08-01 15:08:15 -05:00
parent a8d45e7fc3
commit c19dba37f3
No known key found for this signature in database
GPG key ID: 1E4227A253E99AC7

View file

@ -1,26 +1,18 @@
{ stdenv, fetchurl, perl, perlPackages, makeWrapper }:
{ stdenv, fetchurl, perl, perlPackages }:
let
pname = "stow";
version = "2.3.0";
version = "2.3.1";
in
stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnu/stow/stow-${version}.tar.bz2";
sha256 = "1fnn83wwx3yaxpqkq8xyya3aiibz19fwrfj30nsiikm7igmwgiv5";
sha256 = "0bs2b90wjkk1camcasy8kn403kazq6c7fj5m5msfl3navbgwz9i6";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = with perlPackages; [ perl IOStringy TestOutput HashMerge Clone CloneChoose ];
postFixup = ''
wrapProgram "$out"/bin/stow \
--set PERL5LIB "$out/lib/perl5/site_perl:${with perlPackages; makePerlPath [
HashMerge Clone CloneChoose
]}"
'';
buildInputs = with perlPackages; [ perl IOStringy TestOutput ];
doCheck = true;