rep-gtk: cleanup
This commit is contained in:
parent
5f935b5625
commit
d8acd4dabe
|
@ -1,30 +1,40 @@
|
||||||
{ lib, stdenv, fetchurl, pkg-config, autoreconfHook, librep, gtk2 }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, autoreconfHook
|
||||||
|
, gtk2
|
||||||
|
, librep
|
||||||
|
, pkg-config
|
||||||
|
}:
|
||||||
|
|
||||||
with lib;
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
pname = "rep-gtk";
|
pname = "rep-gtk";
|
||||||
version = "0.90.8.3";
|
version = "0.90.8.3";
|
||||||
sourceName = "rep-gtk_${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.tuxfamily.org/librep/rep-gtk/${sourceName}.tar.xz";
|
url = "https://download.tuxfamily.org/librep/${pname}/${pname}_${version}.tar.xz";
|
||||||
sha256 = "0hgkkywm8zczir3lqr727bn7ybgg71x9cwj1av8fykkr8pdpard9";
|
sha256 = "0hgkkywm8zczir3lqr727bn7ybgg71x9cwj1av8fykkr8pdpard9";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ ];
|
autoreconfHook
|
||||||
propagatedBuildInputs = [ librep gtk2 ];
|
pkg-config
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
gtk2
|
||||||
|
librep
|
||||||
|
];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -e 's|installdir=$(repexecdir)|installdir=$(libdir)/rep|g' -i Makefile.in
|
sed -e 's|installdir=$(repexecdir)|installdir=$(libdir)/rep|g' -i Makefile.in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
|
homepage = "http://sawfish.tuxfamily.org";
|
||||||
description = "GTK bindings for librep";
|
description = "GTK bindings for librep";
|
||||||
homepage = "http://sawfish.wikia.com";
|
license = licenses.gpl2Plus;
|
||||||
license = licenses.gpl2;
|
|
||||||
maintainers = [ maintainers.AndersonTorres ];
|
maintainers = [ maintainers.AndersonTorres ];
|
||||||
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
# TODO: investigate fetchFromGithub
|
# TODO: investigate fetchFromGithub
|
||||||
|
|
Loading…
Reference in New Issue