|
|
|
@ -2,24 +2,24 @@ |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
pname = "1password"; |
|
|
|
|
version = "0.6.1"; |
|
|
|
|
version = "0.6.2"; |
|
|
|
|
src = |
|
|
|
|
if stdenv.hostPlatform.system == "i686-linux" then |
|
|
|
|
fetchzip { |
|
|
|
|
url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_386_v${version}.zip"; |
|
|
|
|
sha256 = "1yr78yawscp9fgvdw0dimc68k3bblk3g67g3jrqpa7hnl6pr24yl"; |
|
|
|
|
sha256 = "08ha4qr064jyivsp8z3q2cwmmm6klqyicc1i9vpf7zd9xmmx72rd"; |
|
|
|
|
stripRoot = false; |
|
|
|
|
} |
|
|
|
|
else if stdenv.hostPlatform.system == "x86_64-linux" then |
|
|
|
|
fetchzip { |
|
|
|
|
url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_amd64_v${version}.zip"; |
|
|
|
|
sha256 = "03m0vxhghzf4zq7k2f1afkc5ixf0qwiiypqjfjgpqpfng7g9ang7"; |
|
|
|
|
sha256 = "1fjhn1k9h6rlrgin5czvpig8h70dh14i5k20g77jvxq24bf0sn9m"; |
|
|
|
|
stripRoot = false; |
|
|
|
|
} |
|
|
|
|
else if stdenv.hostPlatform.system == "x86_64-darwin" then |
|
|
|
|
fetchzip { |
|
|
|
|
url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_darwin_amd64_v${version}.zip"; |
|
|
|
|
sha256 = "1hypmls1fq4rjx9icgr0pkx3s3fhhma2q5rds314sv7f9ijl458f"; |
|
|
|
|
sha256 = "1x7pj41a4wra3ws09cyc063ai5isf12qbkm2hxiiiq5glnacpvpl"; |
|
|
|
|
stripRoot = false; |
|
|
|
|
} |
|
|
|
|
else throw "Architecture not supported"; |
|
|
|
|