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

35 lines
676 B
Nix
Raw Normal View History

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