tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
libmwaw: refactor
Felix Buehler
4 years ago
5be38cc1
459f9fe2
+20
-27
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
libmwaw
default.nix
default.upstream
+20
-23
pkgs/development/libraries/libmwaw/default.nix
reviewed
···
1
1
-
{lib, stdenv, fetchurl, boost, pkg-config, cppunit, zlib, libwpg, libwpd, librevenge}:
2
2
-
let
3
3
-
s = # Generated upstream information
4
4
-
rec {
5
5
-
baseName="libmwaw";
6
6
-
version="0.3.21";
7
7
-
name="${baseName}-${version}";
8
8
-
hash="sha256-6HUBI6eNYblDzveLdzbIp/ILsKZJqhEkAhJPunlPwhw=";
9
9
-
url="mirror://sourceforge/libmwaw/libmwaw/libmwaw-0.3.21/libmwaw-0.3.21.tar.xz";
10
10
-
sha256="sha256-6HUBI6eNYblDzveLdzbIp/ILsKZJqhEkAhJPunlPwhw=";
1
1
+
{ lib, stdenv, fetchurl, boost, pkg-config, cppunit, zlib, libwpg, libwpd, librevenge }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
pname = "libmwaw";
5
5
+
version = "0.3.21";
6
6
+
7
7
+
src = fetchurl {
8
8
+
url = "mirror://sourceforge/libmwaw/libmwaw/libmwaw-${version}/libmwaw-${version}.tar.xz";
9
9
+
sha256 = "sha256-6HUBI6eNYblDzveLdzbIp/ILsKZJqhEkAhJPunlPwhw=";
11
10
};
12
11
13
12
nativeBuildInputs = [ pkg-config ];
14
13
buildInputs = [
15
15
-
boost cppunit zlib libwpg libwpd librevenge
14
14
+
boost
15
15
+
cppunit
16
16
+
zlib
17
17
+
libwpg
18
18
+
libwpd
19
19
+
librevenge
16
20
];
17
17
-
in
18
18
-
stdenv.mkDerivation {
19
19
-
inherit (s) name version;
20
20
-
inherit nativeBuildInputs buildInputs;
21
21
-
src = fetchurl {
22
22
-
inherit (s) url sha256;
23
23
-
};
24
21
enableParallelBuilding = true;
25
25
-
meta = {
26
26
-
inherit (s) version;
22
22
+
23
23
+
meta = with lib; {
27
24
description = "Import library for some old mac text documents";
28
28
-
license = lib.licenses.mpl20 ;
29
29
-
maintainers = [lib.maintainers.raskin];
30
30
-
platforms = lib.platforms.unix;
25
25
+
license = licenses.mpl20;
26
26
+
maintainers = with maintainers; [ raskin ];
27
27
+
platforms = platforms.unix;
31
28
};
32
29
}
-4
pkgs/development/libraries/libmwaw/default.upstream
reviewed
···
1
1
-
url https://sourceforge.net/projects/libmwaw/files/libmwaw/
2
2
-
SF_version_dir libmwaw-
3
3
-
version_link '[.]tar.xz/download$'
4
4
-
SF_redirect