nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, stdenv
3, fetchFromGitHub
4, pkg-config
5
6, gtk3
7, curl
8, libxml2
9}:
10
11stdenv.mkDerivation rec {
12 pname = "smooth";
13 version = "0.9.10";
14
15 src = fetchFromGitHub {
16 owner = "enzo1982";
17 repo = "smooth";
18 rev = "v${version}";
19 sha256 = "sha256-J2Do1iAbE1GBC8co/4nxOzeGJQiPRc+21fgMDpzKX+A=";
20 };
21
22 nativeBuildInputs = [
23 pkg-config
24 ];
25
26 makeFlags = [
27 "prefix=$(out)"
28 ];
29
30 buildInputs = [
31 gtk3
32 curl
33 libxml2
34 ];
35
36 meta = with lib; {
37 description = "The smooth Class Library";
38 license = licenses.artistic2;
39 homepage = "http://www.smooth-project.org/";
40 maintainers = with maintainers; [ shamilton ];
41 platforms = platforms.linux;
42 };
43}