3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix

48 lines
845 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchFromGitHub
, nix-update-script
, pantheon
, meson
, ninja
2021-01-17 02:21:50 +00:00
, pkg-config
, vala
, gtk3
}:
2018-08-20 21:31:18 +01:00
stdenv.mkDerivation rec {
pname = "elementary-print-shim";
2018-08-20 21:31:18 +01:00
version = "0.1.3";
repoName = "print";
2018-08-20 21:31:18 +01:00
src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
2018-08-20 21:31:18 +01:00
rev = version;
2020-09-04 00:43:09 +01:00
sha256 = "sha256-l2IUu9Mj22lZ5yajPcsGrJcJDakNu4srCV0Qea5ybPA=";
2018-08-20 21:31:18 +01:00
};
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
2018-08-20 21:31:18 +01:00
};
};
nativeBuildInputs = [
meson
ninja
2021-01-17 02:21:50 +00:00
pkg-config
2018-08-20 21:31:18 +01:00
vala
];
buildInputs = [ gtk3 ];
meta = with lib; {
2018-08-20 21:31:18 +01:00
description = "Simple shim for printing support via Contractor";
homepage = "https://github.com/elementary/print";
2018-08-20 21:31:18 +01:00
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = pantheon.maintainers;
};
}