nixpkgs/pkgs/development/libraries/mypaint-brushes/default.nix

35 lines
677 B
Nix
Raw Normal View History

2020-02-07 02:28:12 +00:00
{ stdenv
, autoconf
, automake
, fetchFromGitHub
, pkgconfig
}:
2018-03-27 12:53:42 +00:00
2020-02-07 02:28:12 +00:00
stdenv.mkDerivation rec {
2018-03-27 12:53:42 +00:00
pname = "mypaint-brushes";
2019-01-27 09:12:49 +00:00
version = "2.0.2";
2018-03-27 12:53:42 +00:00
src = fetchFromGitHub {
2020-02-07 02:28:12 +00:00
owner = "mypaint";
2018-03-27 12:53:42 +00:00
repo = pname;
rev = "v${version}";
2019-01-27 09:12:49 +00:00
sha256 = "0kcqz13vzpy24dhmrx9hbs6s7hqb8y305vciznm15h277sabpmw9";
2018-03-27 12:53:42 +00:00
};
2020-02-07 02:28:12 +00:00
nativeBuildInputs = [
autoconf
automake
pkgconfig
];
2018-03-27 12:53:42 +00:00
preConfigure = "./autogen.sh";
meta = with stdenv.lib; {
2020-02-07 02:28:12 +00:00
homepage = "http://mypaint.org/";
2018-03-27 12:53:42 +00:00
description = "Brushes used by MyPaint and other software using libmypaint.";
license = licenses.cc0;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.unix;
};
}