diff options
Diffstat (limited to 'pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix')
-rw-r--r-- | pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix b/pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix index 119d5be21381d..cc25419f2eb40 100644 --- a/pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix +++ b/pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix @@ -13,21 +13,13 @@ stdenv.mkDerivation rec { pname = "elementary-print-shim"; version = "0.1.3"; - repoName = "print"; - src = fetchFromGitHub { owner = "elementary"; - repo = repoName; + repo = "print"; rev = version; sha256 = "sha256-l2IUu9Mj22lZ5yajPcsGrJcJDakNu4srCV0Qea5ybPA="; }; - passthru = { - updateScript = nix-update-script { - attrPath = "pantheon.${pname}"; - }; - }; - nativeBuildInputs = [ meson ninja @@ -37,6 +29,12 @@ stdenv.mkDerivation rec { buildInputs = [ gtk3 ]; + passthru = { + updateScript = nix-update-script { + attrPath = "pantheon.${pname}"; + }; + }; + meta = with lib; { description = "Simple shim for printing support via Contractor"; homepage = "https://github.com/elementary/print"; |