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/development/libraries/rep-gtk/default.nix
Normal file
40
pkgs/development/libraries/rep-gtk/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, autoreconfHook
|
||||
, gtk2
|
||||
, librep
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rep-gtk";
|
||||
version = "0.90.8.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.tuxfamily.org/librep/${pname}/${pname}_${version}.tar.xz";
|
||||
sha256 = "0hgkkywm8zczir3lqr727bn7ybgg71x9cwj1av8fykkr8pdpard9";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
buildInputs = [
|
||||
gtk2
|
||||
librep
|
||||
];
|
||||
|
||||
patchPhase = ''
|
||||
sed -e 's|installdir=$(repexecdir)|installdir=$(libdir)/rep|g' -i Makefile.in
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://sawfish.tuxfamily.org";
|
||||
description = "GTK bindings for librep";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
# TODO: investigate fetchFromGithub
|
||||
Loading…
Add table
Add a link
Reference in a new issue