3
0
Fork 0
forked from mirrors/nixpkgs

ksnip: Use existing packages for dependencies

This commit is contained in:
^x3ro 2021-09-17 08:11:09 +02:00
parent 9ac0b84887
commit d687093e66
4 changed files with 6 additions and 84 deletions

View file

@ -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;
};
}

View file

@ -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;
};
}

View file

@ -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 ];

View file

@ -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