cdemu: use hash instead of sha256
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
callPackage ./base.nix {
|
||||
version = "3.2.6";
|
||||
pname = "image-analyzer";
|
||||
sha256 = "sha256-7I8RUgd+k3cEzskJGbziv1f0/eo5QQXn62wGh/Y5ozc=";
|
||||
hash = "sha256-7I8RUgd+k3cEzskJGbziv1f0/eo5QQXn62wGh/Y5ozc=";
|
||||
buildInputs = [ glib gtk3 libxml2 gnuplot libmirage gnome.adwaita-icon-theme gdk-pixbuf librsvg
|
||||
python3Packages.pygobject3 python3Packages.matplotlib ];
|
||||
nativeBuildInputs = [ gobject-introspection cmake wrapGAppsHook3 intltool ];
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib, stdenv, fetchurl, cmake, pkg-config
|
||||
, pname, version, sha256, buildInputs
|
||||
, pname, version, hash, buildInputs
|
||||
, nativeBuildInputs ? [ ]
|
||||
, postFixup ? ""
|
||||
, extraDrvParams ? { }
|
||||
@@ -8,7 +8,7 @@ stdenv.mkDerivation ( {
|
||||
inherit pname version buildInputs postFixup;
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/cdemu/${pname}-${version}.tar.xz";
|
||||
inherit sha256;
|
||||
inherit hash;
|
||||
};
|
||||
nativeBuildInputs = nativeBuildInputs ++ [ pkg-config cmake ];
|
||||
setSourceRoot = ''
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
callPackage ./base.nix {
|
||||
version = "3.2.5";
|
||||
pname = "cdemu-client";
|
||||
sha256 = "1prrdhv0ia0axc6b73crszqzh802wlkihz6d100yvg7wbgmqabd7";
|
||||
hash = "sha256-py2F61v8vO0BCM18GCflAiD48deZjbMM6wqoCDZsOd8=";
|
||||
nativeBuildInputs = [ intltool wrapGAppsNoGuiHook ];
|
||||
buildInputs = with python3Packages; [ dbus-python pygobject3 ];
|
||||
postFixup = ''
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
callPackage ./base.nix {
|
||||
version = "3.2.6";
|
||||
pname = "cdemu-daemon";
|
||||
sha256 = "sha256-puQE4+91xhRuNjVPZYgN/WO0uO8fVAOdxQWOGQ+FfY8=";
|
||||
hash = "sha256-puQE4+91xhRuNjVPZYgN/WO0uO8fVAOdxQWOGQ+FfY8=";
|
||||
nativeBuildInputs = [ intltool ];
|
||||
buildInputs = [ glib libao libmirage ];
|
||||
extraDrvParams.postInstall = ''
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
callPackage ./base.nix {
|
||||
version = "3.2.6";
|
||||
pname = "gcdemu";
|
||||
sha256 = "sha256-w4vzKoSotL5Cjfr4Cu4YhNSWXJqS+n/vySrwvbhR1zA=";
|
||||
hash = "sha256-w4vzKoSotL5Cjfr4Cu4YhNSWXJqS+n/vySrwvbhR1zA=";
|
||||
buildInputs = [ python3Packages.pygobject3 gtk3 glib libnotify gnome.adwaita-icon-theme gdk-pixbuf librsvg ];
|
||||
nativeBuildInputs = [ cmake wrapGAppsHook3 intltool ];
|
||||
postFixup = ''
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
callPackage ./base.nix {
|
||||
version = "3.2.7";
|
||||
pname = "libmirage";
|
||||
sha256 = "sha256-+okkgNeVS8yoKSrQDy4It7PiPlTSiOsUoFxQ1FS9s9M=";
|
||||
hash = "sha256-+okkgNeVS8yoKSrQDy4It7PiPlTSiOsUoFxQ1FS9s9M=";
|
||||
buildInputs = [ glib libsndfile zlib bzip2 xz libsamplerate ];
|
||||
extraDrvParams = {
|
||||
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "${placeholder "out"}/share/gir-1.0";
|
||||
|
||||
@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/cdemu/vhba-module-${version}.tar.xz";
|
||||
sha256 = "sha256-v1hQ1Lj1AiHKh9c0OpKe2oexkfb1roxhQXRUO1ut3oM=";
|
||||
hash = "sha256-v1hQ1Lj1AiHKh9c0OpKe2oexkfb1roxhQXRUO1ut3oM=";
|
||||
};
|
||||
|
||||
makeFlags = kernel.makeFlags ++ [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "INSTALL_MOD_PATH=$(out)" ];
|
||||
|
||||
Reference in New Issue
Block a user