uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
40
pkgs/applications/version-management/cvs2svn/default.nix
Normal file
40
pkgs/applications/version-management/cvs2svn/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib, fetchurl, makeWrapper
|
||||
, pypy2Packages
|
||||
, cvs, subversion, git, breezy
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
pypy2Packages.buildPythonApplication rec {
|
||||
pname = "cvs2svn";
|
||||
version = "2.5.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mhagger/cvs2svn/releases/download/${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "1ska0z15sjhyfi860rjazz9ya1gxbf5c0h8dfqwz88h7fccd22b4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper installShellFiles ];
|
||||
|
||||
checkInputs = [ subversion git breezy ];
|
||||
|
||||
checkPhase = "${pypy2Packages.python.interpreter} run-tests.py";
|
||||
|
||||
doCheck = false; # Couldn't find node 'transaction...' in expected output tree
|
||||
|
||||
postInstall = ''
|
||||
for i in bzr svn git; do
|
||||
wrapProgram $out/bin/cvs2$i \
|
||||
--prefix PATH : "${lib.makeBinPath [ cvs ]}"
|
||||
$out/bin/cvs2$i --man > csv2$i.1
|
||||
installManPage csv2$i.1
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool to convert CVS repositories to Subversion repositories";
|
||||
homepage = "https://github.com/mhagger/cvs2svn";
|
||||
maintainers = with maintainers; [ makefu viraptor ];
|
||||
platforms = platforms.unix;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue