Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { stdenv, dpkg, fetchurl, ... }:
- stdenv.mkDerivation {
- name = "tool";
- version = "4.18.0-6402";
- arch = "amd64";
- src = {
- url = "https://storage.googleapis.com/company/tool/tool.deb";
- md5 = "d14534d4e5777925734b2557dab60a23";
- };
- buildInputs = [ dpkg ];
- sourceRoot = ".";
- unpackCmd = ''
- dpkg-deb -x "$src" .
- '';
- installPhase = ''
- cp -r ./ $out/
- '';
- meta = with stdenv.lib; {
- description = "Tool";
- homepage = "https://www.example.com/";
- license = licenses.unfree;
- platforms = platforms.linux;
- maintainers = with maintainers; [ tommyangelo ];
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement