mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
stow: 2.2.2 -> 2.3.0 (#63917)
This commit is contained in:
parent
c936d5975b
commit
92453c4bcc
@ -1,17 +1,26 @@
|
|||||||
{ stdenv, fetchurl, perl, perlPackages }:
|
{ stdenv, fetchurl, perl, perlPackages, makeWrapper }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.2.2";
|
pname = "stow";
|
||||||
|
version = "2.3.0";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "stow-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/stow/stow-${version}.tar.bz2";
|
url = "mirror://gnu/stow/stow-${version}.tar.bz2";
|
||||||
sha256 = "1zd6g9cm3whvy5f87j81j4npl7q6kxl25f7z7p9ahiqfjqs200m0";
|
sha256 = "1fnn83wwx3yaxpqkq8xyya3aiibz19fwrfj30nsiikm7igmwgiv5";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with perlPackages; [ perl IOStringy TestOutput ];
|
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
|
||||||
|
]}"
|
||||||
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user