nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 autoconf,
5 automake,
6 fetchFromGitHub,
7 pkg-config,
8}:
9
10stdenv.mkDerivation rec {
11 pname = "mypaint-brushes";
12 version = "2.0.2";
13
14 src = fetchFromGitHub {
15 owner = "mypaint";
16 repo = "mypaint-brushes";
17 rev = "v${version}";
18 sha256 = "0kcqz13vzpy24dhmrx9hbs6s7hqb8y305vciznm15h277sabpmw9";
19 };
20
21 nativeBuildInputs = [
22 autoconf
23 automake
24 pkg-config
25 ];
26
27 preConfigure = "./autogen.sh";
28
29 meta = {
30 homepage = "http://mypaint.org/";
31 description = "Brushes used by MyPaint and other software using libmypaint";
32 license = lib.licenses.cc0;
33 maintainers = with lib.maintainers; [ jtojnar ];
34 platforms = lib.platforms.unix;
35 };
36}