jmtpfs: fix changed sha256 hash
...by switching to fetchFromGitHub. Also clean up (some dependencies are no longer needed).
This commit is contained in:
parent
60461dee1c
commit
dda255f938
@ -1,23 +1,22 @@
|
|||||||
{ stdenv, fetchurl
|
{ stdenv, fetchFromGitHub, pkgconfig, file, fuse, libmtp }:
|
||||||
, autoconf, automake
|
|
||||||
, unzip, pkgconfig
|
|
||||||
, file, fuse, libmtp }:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let version = "0.5"; in
|
||||||
version = "0.5";
|
stdenv.mkDerivation {
|
||||||
name = "jmtpfs-${version}";
|
name = "jmtpfs-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/JasonFerrara/jmtpfs/archive/v0.5.zip";
|
sha256 = "1pm68agkhrwgrplrfrnbwdcvx5lrivdmqw8pb5gdmm3xppnryji1";
|
||||||
sha256 = "09fw4g350mjz1mnga7ws5nvnsnfzs8s7cscl300mas1m9s6vmhz6";
|
rev = "v${version}";
|
||||||
|
repo = "jmtpfs";
|
||||||
|
owner = "JasonFerrara";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ autoconf automake file fuse libmtp pkgconfig unzip ];
|
buildInputs = [ file fuse libmtp pkgconfig ];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "A FUSE filesystem for MTP devices like Android phones";
|
description = "A FUSE filesystem for MTP devices like Android phones";
|
||||||
homepage = https://github.com/JasonFerrara/jmtpfs;
|
homepage = https://github.com/JasonFerrara/jmtpfs;
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = [ stdenv.lib.maintainers.coconnor ];
|
maintainers = [ maintainers.coconnor ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user