nixpkgs/pkgs/misc/themes/greybird/default.nix
José Romildo Malaquias 1944defa4c greybird: remove license cc-by-nc-sa-30 (#46802)
Greybird is dual-licensed as GPLv2 or later and CC-BY-SA 3.0 or later.
The first is free, and the second is unfree in nixpkgs. Currently both
licenses are listed in the package derivation. And nix takes that it is
unfree. If one of the licenses in the list is unfree. nix consider
that the software is unfree. Remove the unfree one.
2018-09-18 13:29:28 +02:00

39 lines
938 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, which, sassc, glib, libxml2, gdk_pixbuf, librsvg, gtk-engine-murrine }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "greybird";
version = "3.22.9";
src = fetchFromGitHub {
owner = "shimmerproject";
repo = "${pname}";
rev = "v${version}";
sha256 = "0mixs47v0jvqpmfsv0k0d0l24y4w35krah8mgnwamr0b8spmazz3";
};
nativeBuildInputs = [
autoreconfHook
which
sassc
glib
libxml2
];
buildInputs = [
gdk_pixbuf
librsvg
];
propagatedUserEnvPkgs = [
gtk-engine-murrine
];
meta = with stdenv.lib; {
description = "Grey and blue theme from the Shimmer Project for GTK+-based environments";
homepage = https://github.com/shimmerproject/Greybird;
license = with licenses; [ gpl2Plus ]; # or alternatively: cc-by-nc-sa-30
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}