blob: 4d8cfc0a76995b7fd96c7962f545f0c4d49a9ca7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{ lib
, stdenv
, fetchurl
, autoreconfHook
, gtk2-x11
, librep
, pkg-config
}:
stdenv.mkDerivation (finalAttrs: {
pname = "rep-gtk";
version = "0.90.8.3";
src = fetchurl {
url = "https://download.tuxfamily.org/librep/rep-gtk/rep-gtk_${finalAttrs.version}.tar.xz";
hash = "sha256-qWV120V5Tu/QVkFylno47y1/7DriZExHjp99VLmf80E=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
librep
];
buildInputs = [
gtk2-x11
librep
];
strictDeps = true;
patchPhase = ''
sed -e 's|installdir=$(repexecdir)|installdir=$(libdir)/rep|g' -i Makefile.in
'';
meta = {
homepage = "http://sawfish.tuxfamily.org";
description = "GTK bindings for librep";
license = lib.licenses.gpl2Plus;
maintainers = [ lib.maintainers.AndersonTorres ];
platforms = lib.platforms.unix;
};
})
# TODO: investigate fetchFromGithub
|