tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dmtx-utils: 0.7.4 -> 0.7.6
Robert Schütz
5 years ago
9872e4a8
d3cd7c36
+27
-28
2 changed files
expand all
collapse all
unified
split
pkgs
tools
graphics
dmtx-utils
default.nix
default.upstream
+27
-24
pkgs/tools/graphics/dmtx-utils/default.nix
···
1
-
{lib, stdenv, fetchurl, libdmtx, pkg-config, imagemagick}:
2
-
let
3
-
s = # Generated upstream information
4
-
rec {
5
-
baseName="dmtx-utils";
6
-
version="0.7.4";
7
-
name="${baseName}-${version}";
8
-
hash="1di8ymlziy9856abd6rb72z0zqzmrff4r3vql0q9r5sk5ax4s417";
9
-
url="mirror://sourceforge/project/libdmtx/libdmtx/0.7.4/dmtx-utils-0.7.4.tar.gz";
10
-
sha256="1di8ymlziy9856abd6rb72z0zqzmrff4r3vql0q9r5sk5ax4s417";
0
0
0
0
0
0
0
0
11
};
12
-
nativeBuildInputs = [ pkg-config ];
13
-
buildInputs = [
14
-
libdmtx imagemagick
15
-
];
16
-
in
17
-
stdenv.mkDerivation {
18
-
inherit (s) name version;
19
-
inherit nativeBuildInputs buildInputs;
20
-
src = fetchurl {
21
-
inherit (s) url sha256;
22
-
};
23
meta = {
24
-
inherit (s) version;
25
description = "Data matrix command-line utilities";
26
-
license = lib.licenses.lgpl2 ;
27
-
maintainers = [lib.maintainers.raskin];
0
0
28
platforms = lib.platforms.unix;
29
};
30
}
···
1
+
{ lib
2
+
, stdenv
3
+
, fetchFromGitHub
4
+
, autoreconfHook
5
+
, pkg-config
6
+
, libdmtx
7
+
, imagemagick
8
+
}:
9
+
10
+
stdenv.mkDerivation rec {
11
+
pname = "dmtx-utils";
12
+
version = "0.7.6";
13
+
14
+
src = fetchFromGitHub {
15
+
owner = "dmtx";
16
+
repo = "dmtx-utils";
17
+
rev = "v${version}";
18
+
sha256 = "06m3qncqdlcnmw83n95yrx2alaq6bld320ax26z4ndnla41yk0p4";
19
};
20
+
21
+
nativeBuildInputs = [ autoreconfHook pkg-config ];
22
+
23
+
buildInputs = [ libdmtx imagemagick ];
24
+
0
0
0
0
0
0
25
meta = {
0
26
description = "Data matrix command-line utilities";
27
+
homepage = "https://github.com/dmtx/dmtx-utils";
28
+
changelog = "https://github.com/dmtx/dmtx-utils/blob/v${version}/ChangeLog";
29
+
license = lib.licenses.lgpl2;
30
+
maintainers = [ lib.maintainers.raskin ];
31
platforms = lib.platforms.unix;
32
};
33
}
-4
pkgs/tools/graphics/dmtx-utils/default.upstream
···
1
-
url https://sourceforge.net/projects/libdmtx/files/libdmtx/
2
-
SF_version_dir
3
-
version_link 'dmtx-utils-.*[.]tar[.][a-z0-9]+/download$'
4
-
SF_redirect
···
0
0
0
0