8 stdenv.mkDerivation rec {
12 src = fetchFromGitLab {
13 domain = "salsa.debian.org";
16 rev = "debian/${version}";
17 sha256 = "04ylk0y5b3jml2awmyz7m1hnymni8y1n83m0k6ychdh0px8frhm5";
21 substituteInPlace debian/anarchism.desktop \
22 --replace "/usr/bin/xdg-open" "${xdg-utils}/bin/xdg-open"
23 substituteInPlace debian/anarchism.desktop \
24 --replace "file:///usr" "file://$out"
28 mkdir -p $out/share/doc/anarchism $out/share/applications $out/share/icons/hicolor/scalable/apps
29 cp -r {html,markdown} $out/share/doc/anarchism
30 cp debian/anarchism.svg $out/share/icons/hicolor/scalable/apps
31 cp debian/anarchism.desktop $out/share/applications
35 homepage = "http://www.anarchistfaq.org/";
36 changelog = "http://anarchism.pageabode.com/afaq/new.html";
37 description = "Exhaustive exploration of Anarchist theory and practice";
39 The Anarchist FAQ is an excellent source of information regarding Anarchist
40 (libertarian socialist) theory and practice. It covers all major topics,
41 from the basics of Anarchism to very specific discussions of politics,
42 social organization, and economics.
44 license = licenses.gpl2Plus;
45 maintainers = with maintainers; [ davidak ];
46 platforms = with platforms; all;