nixpkgs/pkgs/applications/misc/udiskie/default.nix

50 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, asciidoc-full, gettext
, gobjectIntrospection, gtk3, hicolor-icon-theme, libnotify, librsvg
, udisks2, wrapGAppsHook
2017-12-31 15:35:09 +00:00
, buildPythonApplication
, docopt
, pygobject3
, pyyaml
}:
2017-12-31 15:35:09 +00:00
buildPythonApplication rec {
name = "udiskie-${version}";
python27Packages.udiskie: 1.7.3 -> 1.7.4 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/udiskie/versions. These checks were done: - built on NixOS - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/udiskie passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/udiskie-info passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/udiskie-mount passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/udiskie-umount passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/..udiskie-wrapped-wrapped passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/.udiskie-wrapped passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/..udiskie-info-wrapped-wrapped passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/.udiskie-info-wrapped passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/..udiskie-mount-wrapped-wrapped passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/.udiskie-mount-wrapped passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/..udiskie-umount-wrapped-wrapped passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/.udiskie-umount-wrapped passed the binary check. - 12 of 12 passed binary check by having a zero exit code. - 12 of 12 passed binary check by having the new version present in output. - found 1.7.4 with grep in /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4 - directory tree listing: https://gist.github.com/b8c058b519fdc73cbd6a8b7062bb7dea - du listing: https://gist.github.com/befb311e40dbd18617e2b11abb41bf1e
2018-05-20 19:27:40 +01:00
version = "1.7.4";
src = fetchFromGitHub {
owner = "coldfix";
repo = "udiskie";
rev = version;
python27Packages.udiskie: 1.7.3 -> 1.7.4 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/udiskie/versions. These checks were done: - built on NixOS - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/udiskie passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/udiskie-info passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/udiskie-mount passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/udiskie-umount passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/..udiskie-wrapped-wrapped passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/.udiskie-wrapped passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/..udiskie-info-wrapped-wrapped passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/.udiskie-info-wrapped passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/..udiskie-mount-wrapped-wrapped passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/.udiskie-mount-wrapped passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/..udiskie-umount-wrapped-wrapped passed the binary check. - /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/.udiskie-umount-wrapped passed the binary check. - 12 of 12 passed binary check by having a zero exit code. - 12 of 12 passed binary check by having the new version present in output. - found 1.7.4 with grep in /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4 - directory tree listing: https://gist.github.com/b8c058b519fdc73cbd6a8b7062bb7dea - du listing: https://gist.github.com/befb311e40dbd18617e2b11abb41bf1e
2018-05-20 19:27:40 +01:00
sha256 = "0r3m8y6ppkl8p1lhr89sfk9v2la1zn0rbmr6hy860j7b22yvnkrn";
};
buildInputs = [
asciidoc-full # For building man page.
hicolor-icon-theme
wrapGAppsHook
librsvg # required for loading svg icons (udiskie uses svg icons)
];
propagatedBuildInputs = [
gettext gobjectIntrospection gtk3 libnotify docopt
pygobject3 pyyaml udisks2
];
postBuild = "make -C doc";
postInstall = ''
mkdir -p $out/share/man/man8
cp -v doc/udiskie.8 $out/share/man/man8/
'';
# tests require dbusmock
doCheck = false;
meta = with stdenv.lib; {
description = "Removable disk automounter for udisks";
license = licenses.mit;
homepage = https://github.com/coldfix/udiskie;
maintainers = with maintainers; [ AndersonTorres ];
};
}