mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
ksnip: Use existing packages for dependencies
This commit is contained in:
parent
9ac0b84887
commit
d687093e66
@ -1,36 +0,0 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, cmake
|
||||
, fetchFromGitHub
|
||||
, qtbase
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kColorPicker";
|
||||
version = "0.1.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ksnip";
|
||||
repo = "kColorPicker";
|
||||
rev = "v${version}";
|
||||
sha256 = "1167xwk75yiz697vddbz3lq42l7ckhyl2cvigy4m05qgg9693ksd";
|
||||
};
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ksnip/kImageAnnotator";
|
||||
description = "Tool for annotating images";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ x3ro ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, cmake
|
||||
, fetchFromGitHub
|
||||
, kColorPicker
|
||||
, qtbase
|
||||
, qtsvg
|
||||
, qttranslations
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kImageAnnotator";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ksnip";
|
||||
repo = "kImageAnnotator";
|
||||
rev = "v${version}";
|
||||
sha256 = "07m3il928gwzzab349grpaksqqv4n7r6mn317sx2jly0x0bpv0rh";
|
||||
};
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kColorPicker
|
||||
qtbase
|
||||
qtsvg
|
||||
qttranslations
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ksnip/kImageAnnotator";
|
||||
description = "Tool for annotating images";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ x3ro ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -2,13 +2,13 @@
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "kimageannotator";
|
||||
version = "0.5.1";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ksnip";
|
||||
repo = "kImageAnnotator";
|
||||
rev = "v${version}";
|
||||
sha256 = "0hfvrd78lgwd7bccz0fx2pr7g0v3s401y5plra63rxwk55ffkxf8";
|
||||
sha256 = "07m3il928gwzzab349grpaksqqv4n7r6mn317sx2jly0x0bpv0rh";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake qttools ];
|
||||
|
@ -3,8 +3,8 @@
|
||||
, cmake
|
||||
, extra-cmake-modules
|
||||
, fetchFromGitHub
|
||||
, kColorPicker
|
||||
, kImageAnnotator
|
||||
, kcolorpicker
|
||||
, kimageannotator
|
||||
, qtsvg
|
||||
, qttranslations
|
||||
, qtx11extras
|
||||
@ -29,8 +29,8 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kColorPicker
|
||||
kImageAnnotator
|
||||
kcolorpicker
|
||||
kimageannotator
|
||||
qtsvg
|
||||
qttranslations
|
||||
qtx11extras
|
||||
|
Loading…
Reference in New Issue
Block a user