ostinato: remove ostinato.png and get it from url
This commit is contained in:
parent
7ad018b786
commit
e3c061e6ef
@ -3,7 +3,7 @@
|
|||||||
, wireshark, gzip, diffutils, gawk
|
, wireshark, gzip, diffutils, gawk
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "ostinato-2015-12-24";
|
name = "ostinato-2015-12-24";
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://github.com/pstavirs/ostinato.git";
|
url = "https://github.com/pstavirs/ostinato.git";
|
||||||
@ -11,6 +11,11 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0hb78bq51r93p0yr4l1z5xlf1i666v5pa3zkdj7jmpb879kj05dx";
|
sha256 = "0hb78bq51r93p0yr4l1z5xlf1i666v5pa3zkdj7jmpb879kj05dx";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ostinato_png = fetchurl {
|
||||||
|
url = "http://ostinato.org/images/site-logo.png";
|
||||||
|
sha256 = "f5c067823f2934e4d358d76f65a343efd69ad783a7aeabd7ab4ce3cd03490d70";
|
||||||
|
};
|
||||||
|
|
||||||
buildInputs = [ qt4 protobuf libpcap ];
|
buildInputs = [ qt4 protobuf libpcap ];
|
||||||
|
|
||||||
patches = [ ./drone_ini.patch ];
|
patches = [ ./drone_ini.patch ];
|
||||||
@ -28,7 +33,7 @@ stdenv.mkDerivation {
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
mkdir -p $out/share/pixmaps
|
mkdir -p $out/share/pixmaps
|
||||||
install -D -m 644 ${./ostinato.png} $out/share/pixmaps/ostinato.png
|
cp ${ostinato_png} $out/share/pixmaps/ostinato.png
|
||||||
|
|
||||||
# Create a desktop item.
|
# Create a desktop item.
|
||||||
mkdir -p $out/share/applications
|
mkdir -p $out/share/applications
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 18 KiB |
Loading…
x
Reference in New Issue
Block a user